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

Use a lease rather than GC_LOCK? #192

Open
3 of 7 tasks
sourcefrog opened this issue Oct 18, 2022 · 0 comments · May be fixed by #275
Open
3 of 7 tasks

Use a lease rather than GC_LOCK? #192

sourcefrog opened this issue Oct 18, 2022 · 0 comments · May be fixed by #275

Comments

@sourcefrog
Copy link
Owner

sourcefrog commented Oct 18, 2022

https://github.com/sourcefrog/conserve/wiki/Leases-and-locks

In fact, for easier compatibility this could use the same filename, but just add an expiry time, and then repeatedly update it while running.

  • Give Transport a concept of create-new vs overwrite
  • Write lease files
  • Detect stolen/lapsed leases
  • Test expiry, theft, etc
  • Periodically renew leases
  • Think about how to make this transition well from GC_LOCK
  • Integrate leases into code that writes to the archive
@sourcefrog sourcefrog linked a pull request Feb 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant