-
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/Locked but expired objects #2535
fix/Locked but expired objects #2535
Conversation
It waits #2526 but some changes will be also added. |
aef3c9d
to
037ee9f
Compare
It will allow reusing that method in expiration checks. Signed-off-by: Pavel Karpy <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2535 +/- ##
==========================================
+ Coverage 29.66% 29.91% +0.25%
==========================================
Files 405 405
Lines 30756 30880 +124
==========================================
+ Hits 9123 9239 +116
+ Misses 20863 20854 -9
- Partials 770 787 +17
... and 5 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more 📢 Have feedback on the report? Share it here. |
Allow replication of any (expired too) locked object. Information about object locking is considered to be presented on the _container nodes_. Refs. nspcc-dev#2392. Signed-off-by: Pavel Karpy <[email protected]>
037ee9f
to
9a4f7db
Compare
8ee6a17
to
ce5e8ce
Compare
An object can be expired but locked (and not removed, of course). After the LOCK object expiration, the object should be unlocked and, therefore, become unavailable immediately not by the next GC cycle time. Closes nspcc-dev#2392. Signed-off-by: Pavel Karpy <[email protected]>
Locked objects are prohibited to be removed by a user operation so `Force` should be applied to the expired LOCK objects. Signed-off-by: Pavel Karpy <[email protected]>
See boltdb/bolt#428. Signed-off-by: Pavel Karpy <[email protected]>
Signed-off-by: Pavel Karpy <[email protected]>
ce5e8ce
to
48fbe5c
Compare
…expired Unskiped test_expired_object_should_be_deleted_after_locks_are_expired, since the bug is fixed in commit nspcc-dev/neofs-node#2535 Signed-off-by: Oleg Kulachenko <[email protected]>
No description provided.