-
Notifications
You must be signed in to change notification settings - Fork 47
Recreate lost EC parts #3628
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
Merged
Merged
Recreate lost EC parts #3628
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2cde16f to
bedbf70
Compare
1263882 to
7d18369
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3628 +/- ##
==========================================
- Coverage 27.40% 27.37% -0.03%
==========================================
Files 656 658 +2
Lines 41194 41762 +568
==========================================
+ Hits 11288 11434 +146
- Misses 28850 29260 +410
- Partials 1056 1068 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
7d18369 to
453ddf1
Compare
cthulhu-rider
added a commit
that referenced
this pull request
Oct 24, 2025
The session token is in the parent object, but in the part it is meaningless. Moreover, if the part object needs to be recreated, the session token will no longer exist. Therefore, not adding a token preserves the object ID which is good for deduplication. For this to work, it was necessary to make an exception when checking the signature against the object owner. Refs #3628. Signed-off-by: Leonard Lyubich <[email protected]>
cthulhu-rider
added a commit
that referenced
this pull request
Oct 24, 2025
The session token is in the parent object, but in the part it is meaningless. Moreover, if the part object needs to be recreated, the session token will no longer exist. Therefore, not adding a token preserves the object ID which is good for deduplication. For this to work, it was necessary to make an exception when checking the signature against the object owner. Refs #3628. Signed-off-by: Leonard Lyubich <[email protected]>
Contributor
Author
|
lets handle #3651 first |
453ddf1 to
3100767
Compare
End-rey
reviewed
Nov 1, 2025
Extend `Policer` with workers checking availability of EC parts. Free worker takes the job each time some EC part is processed by regular Policer routine. If no more than N parts are unavailable (where N is a number of parity parts in the container policy), they are recreated using available ones. The part has consistent ID even after restoration which is good for deduplication. Closes #3554. Signed-off-by: Leonard Lyubich <[email protected]>
3100767 to
93b920c
Compare
End-rey
approved these changes
Nov 1, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.