Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: state: Record the list of packfiles created. #392

Merged
merged 3 commits into from
Feb 5, 2025

Conversation

mathieu-plak
Copy link
Contributor

  • When building a delta state, record the packfiles that were created as part of the process.

  • Warning this is based on state: Add DeleteSnapshot() operation #385 ...

  • Putting in draft because I'm wondering if we should record the packfiles under the umbrella of the state id (so in leveldb it would be packfile:<state_id>:, and the payload would contain the state id), to efficiently retrieve it (for example in plakar info state f00b4r). This would need quite a bit of refactoring though (we only assign an ID to the state at serialization time right now).

Base automatically changed from mm/state_delete_snapshot to mm/state_improvement February 4, 2025 20:17
Base automatically changed from mm/state_improvement to main February 5, 2025 10:01
* When building a delta state, record the packfiles that were created as
part of the process.
@mathieu-plak mathieu-plak force-pushed the mm/state_packfiles_list branch from 2e5a6d6 to 0b7ecc6 Compare February 5, 2025 10:03
* While here implement packfile listing in plakar info state
Copy link
Collaborator

@poolpOrg poolpOrg left a comment

Choose a reason for hiding this comment

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

OK

@poolpOrg poolpOrg merged commit 2cdb8ff into main Feb 5, 2025
4 checks passed
@poolpOrg poolpOrg deleted the mm/state_packfiles_list branch February 5, 2025 10: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.

3 participants