Has the repair mechanism changed for Photos libraries that are synced with iCloud?

It appears to me that perhaps the Photos library repair mechanism has changed, although I have no inside knowledge related to how Apple has implemented this. I have, unfortunately, been forced to repair my library several times over the years. In the past, there seemed to be a long period where all the items in my library were uploaded back to iCloud. My library is approximately 650 GB and contains approximately 62000 items. This upload process took many days and I could monitor the high network traffic with Activity Monitor.


This time, however, with macOS Catalina 10.15.5 the repair was performed much more quickly. It took only about two days and there was never a huge amount of network traffic. There was, however, a great deal of CPU activity and a relatively small amount of network activity throughout this repair process. If I had to guess, it might be that Photos is generating hashes (a type of checksum) of all of the items in my library, which Photos uploads to iCloud instead of the images and videos themselves. This is a perfectly valid way for Apple to confirm if the items in your Photos library on your Mac are identical with the same items stored in your iCloud Photos library.


At any rate, the important point to note is that the library repair completed much faster that it used to take and I never observed high network traffic. It would be interesting to know if anyone else has noticed a similar change.

iMac 27″, macOS 10.15

Posted on Jun 1, 2020 2:16 AM

Reply

Similar questions

11 replies

Jun 1, 2020 2:42 AM in response to jeffreyEh

If I had to guess, it might be that Photos is generating hashes (a type of checksum) of all of the items in my library, which Photos uploads to iCloud instead of the images and videos themselves. This is a perfectly valid way for Apple to confirm if the items in your Photos library on your Mac are identical with the same items stored in your iCloud Photos library.

That is very promising. I hope you right. I'll try to repair my 200GB library an see how long it takes.



Did the repair fix anything successfully?


P.S: I reported the duplicate post for removal.



Jun 1, 2020 2:46 AM in response to léonie

It may have fixed my problem where Photos beachballed when I clicked on a smart album to view its contents. But I need to wait a little longer to see if the problem has 100% gone away. Of course, it could also have been a transient problem after I upgraded to macOS 10.15.5 that would have gone away of its own accord, but I will never know that now.


Jun 1, 2020 4:40 AM in response to léonie

After some hours of almost no activity on my iMac, the CPU activity of the same processes has increased significantly again:



Does this mean that the repair process is not completely finished? Or is this normal background Photos activity? There is no way to really know this, I suppose. However, there is still very little network activity.

Jun 1, 2020 5:12 AM in response to jeffreyEh

Is there still a status message below the "All Photos" album? Is the People album showing a new Faces scan?

The "Curating ..." and the object recognition may have started again.


I am still seeing "Restoring from iCloud" below "All Photos", "Curating ..." has not yet started, the People album is now saying "245 Photos scanned". The fan is now silent.



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Has the repair mechanism changed for Photos libraries that are synced with iCloud?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.