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
{{ message }}
Repository navigation
Index: In-memory Files/Photos lookup tables mark themselves as “already loaded” #5235
When files are imported via WebDAV/Web Upload, the next library index may behave as if "Complete Rescan" were enabled, causing every file to be reprocessed:
Root Cause: The in-memory Files/Photos lookup tables mark themselves as “already loaded” merely because their maps are non-empty. WebDAV/Upload flows append entries to those maps before Init() hydrates them from the database, so the next index run trusts an incomplete cache and treats nearly every file as new.
Probable Fix: Track whether the cache was populated via Init() (loaded flag) and reset it in Done(). This guarantees that the first real index hydrates from the DB and subsequent runs correctly skip unchanged files, eliminating the unexpected full rescan.
Activity
Index: Fix in-memory Files/Photos lookup tables #5235
Query: Add code comments for easier troubleshooting #5235
Config: Add code comments for easier troubleshooting #5235
Event: Add code comments for easier troubleshooting #5235
Backend: Refactor middleware naming and improve code comments #5235