Skip to content

meta: fix expired lock still locked the object#3601

Merged
roman-khimov merged 1 commit intomasterfrom
fix-expiration-lock-problems
Sep 26, 2025
Merged

meta: fix expired lock still locked the object#3601
roman-khimov merged 1 commit intomasterfrom
fix-expiration-lock-problems

Conversation

@End-rey
Copy link
Contributor

@End-rey End-rey commented Sep 25, 2025

When checking the lock bucket, it now checks whether the lock has expired or not.

When checking the lock bucket, it now checks whether the lock has expired or
not.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
@codecov
Copy link

codecov bot commented Sep 25, 2025

Codecov Report

❌ Patch coverage is 82.85714% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.66%. Comparing base (5dadaaa) to head (f0a06b6).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
pkg/local_object_storage/metabase/lock.go 53.84% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3601      +/-   ##
==========================================
+ Coverage   26.65%   26.66%   +0.01%     
==========================================
  Files         655      655              
  Lines       49686    49700      +14     
==========================================
+ Hits        13244    13253       +9     
- Misses      35402    35405       +3     
- Partials     1040     1042       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roman-khimov roman-khimov merged commit fac2a3b into master Sep 26, 2025
22 checks passed
@roman-khimov roman-khimov deleted the fix-expiration-lock-problems branch September 26, 2025 08:19
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