Skip to content

Rebuild asset registry cache during fs sync.#232

Merged
Randy808 merged 1 commit into
Blockstream:new-indexfrom
Randy808:rebuild-asset-registry-cache
Jul 10, 2026
Merged

Rebuild asset registry cache during fs sync.#232
Randy808 merged 1 commit into
Blockstream:new-indexfrom
Randy808:rebuild-asset-registry-cache

Conversation

@Randy808

@Randy808 Randy808 commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes the issue where stale registry asset entries were being served from the REST API after their JSON files have been removed from disk.

AssetRegistry::fs_sync now rebuilds the cache from the current filesystem snapshot on each sync, while still reusing cached metadata for files whose modified time has not changed.

@Randy808 Randy808 self-assigned this Jul 9, 2026

@EddieHouston EddieHouston left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 69c476c

@Randy808 Randy808 merged commit fb2d447 into Blockstream:new-index Jul 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants