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

snapshot: More Snapshot accessors #1721

Merged
merged 1 commit into from
Sep 25, 2024
Merged

snapshot: More Snapshot accessors #1721

merged 1 commit into from
Sep 25, 2024

Conversation

kim
Copy link
Contributor

@kim kim commented Sep 19, 2024

Make the database_address and database_instance_id of Snapshot pub. Also provide a method to obtain an iterator over all object hashes the Snapshot is referring to.

This allows to fetch a snapshot over the network in a streaming fashion, avoiding to download objects which already exist.

Expected complexity level and risk

1

Testing

n/a

@kim kim requested a review from gefjon September 19, 2024 13:56
@kim kim added this pull request to the merge queue Sep 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 24, 2024
@kim kim added this pull request to the merge queue Sep 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 24, 2024
Make the `database_address` and `database_instance_id` of `Snapshot`
`pub`. Also provide a method to obtain an iterator over all object
hashes the `Snapshot` is referring to.

This allows to fetch a snapshot over the network in a streaming fashion,
avoiding to download objects which already exist.
@kim kim enabled auto-merge September 25, 2024 05:29
@kim kim added this pull request to the merge queue Sep 25, 2024
Merged via the queue into master with commit d5173d3 Sep 25, 2024
8 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