-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fix/GC big objects parts #2863
Fix/GC big objects parts #2863
Conversation
f3f4d64
to
2d30e75
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2863 +/- ##
==========================================
+ Coverage 23.56% 23.69% +0.12%
==========================================
Files 773 770 -3
Lines 44672 44540 -132
==========================================
+ Hits 10529 10555 +26
+ Misses 33290 33131 -159
- Partials 853 854 +1 ☔ View full report in Codecov by Sentry. |
Found corner case in shard distribution, will add tests and fix. |
2d30e75
to
2705b12
Compare
OK, a fresh view and an extended test showed that it did not work. Let it be simple and error-proof. |
We have found a deadlock replication cycle; numbers are good things to know in this case. Signed-off-by: Pavel Karpy <[email protected]>
Closes #2858. Signed-off-by: Pavel Karpy <[email protected]>
Many packages may benefit from it. Signed-off-by: Pavel Karpy <[email protected]>
2705b12
to
31b9074
Compare
31b9074
to
658cbde
Compare
|
||
// Expiration searches for expiration attribute in the object. Returns | ||
// ErrNoExpiration if not found. | ||
func Expiration(obj object.Object) (uint64, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this if we're not touching replicator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be useful in general as i mentioned in the commit, i just had not searched if more places can reused it
Closes #2858.