conserve icon indicating copy to clipboard operation
conserve copied to clipboard

Use a lease rather than `GC_LOCK`?

Open sourcefrog opened this issue 3 years ago • 0 comments

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.

  • [x] Give Transport a concept of create-new vs overwrite
  • [x] Write lease files
  • [x] 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 avatar Oct 18 '22 13:10 sourcefrog