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

Correct getcontainersize api #326

Merged
merged 4 commits into from
Mar 23, 2023
Merged

Conversation

roman-khimov
Copy link
Member

I want to include this into 0.17.0 to have something for the nspcc-dev/neofs-node#2173 to use.

Unfortunately, we can't check for more. Epoch number is serialized in a way
that is dynamic in size.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit hijacks iterateContainerSizes for container-specific estimations
and keeps iterateAllContainerSizes with a bit better behaviour in that it
strips useless key prefix. This API is not yet released and is not used
anywhere, so this can be done safely.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
It's a part of the public API.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
@cthulhu-rider cthulhu-rider merged commit 715425a into master Mar 23, 2023
@cthulhu-rider cthulhu-rider deleted the correct-getcontainersize-api branch March 23, 2023 10:30
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