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

repository.list: refresh lock more frequently #8394

Merged

Conversation

ThomasWaldmann
Copy link
Member

@ThomasWaldmann ThomasWaldmann commented Sep 19, 2024

under all circumstances, we must avoid that the lock gets stale due to not being refreshed in time.

there is some internal rate limiting in _lock_refresh, so calling it often should be no problem.

fixes #8390.

under all circumstances, we must avoid that the lock
gets stale due to not being refreshed in time.

there is some internal rate limiting in _lock_refresh,
so calling it often should be no problem.
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.57%. Comparing base (03b139e) to head (2a20ebe).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8394   +/-   ##
=======================================
  Coverage   81.57%   81.57%           
=======================================
  Files          70       70           
  Lines       12700    12700           
  Branches     2298     2298           
=======================================
  Hits        10360    10360           
  Misses       1688     1688           
  Partials      652      652           

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

@ThomasWaldmann ThomasWaldmann merged commit 11b72ef into borgbackup:master Sep 19, 2024
16 checks passed
@ThomasWaldmann ThomasWaldmann deleted the list-refresh-lock-frequently branch September 19, 2024 10: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.

borg2: borg {compact,create,..} fails with "Failed to release the lock"
1 participant