Description
Implements automatic recovery when LRUCache metadata becomes stale (references non-existent entries). The reconcileState method validates all LRU keys against actual cache storage during eviction, preventing size calculation errors and cache corruption. Also fixes folder download to use file.id instead of file.uuid for cache lookups.
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed