Skip to content

Load latest index from nameservice, not commit#965

Merged
bplatz merged 1 commit intomainfrom
fix/latest-index-load
Feb 10, 2025
Merged

Load latest index from nameservice, not commit#965
bplatz merged 1 commit intomainfrom
fix/latest-index-load

Conversation

@bplatz
Copy link
Contributor

@bplatz bplatz commented Feb 8, 2025

When loading an existing db, the index was always pulled from the latest commit file which did not reflect the latest index (if one was written since the latest commit).

The latest index is stored in the nameservice, and this now relies on the nameservice latest information rather than the latest commit file.

There were also some bugs I discovered in reading the serialized index file - not sure how things were working when relying on indexes on disk (my guess is they were not, if there were subclasses, etc.)

@bplatz bplatz requested a review from a team February 8, 2025 13:15
Copy link
Contributor

@zonotope zonotope left a comment

Choose a reason for hiding this comment

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

🐗

@bplatz bplatz merged commit 34e4d3e into main Feb 10, 2025
6 checks passed
@bplatz bplatz deleted the fix/latest-index-load branch February 10, 2025 19:36
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