You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix
Rows of a space the user can no longer see are pruned. A scan walks the spaces that exist, so when a drive disappears from /me/drives its photos stayed in the index forever (31 of them on a real instance). After a pass that finished every selected space, the rows whose space is not among the visible drives are soft-deleted; rows indexed before migration 004 are matched by the id in their path.
The prune needs a complete pass, keeps every visible drive even if it is not configured for scanning, leaves alone any row whose space cannot be determined, and refuses to run with an empty list of visible drives.