Skip to content

Use a lease rather than GC_LOCK? #192

Description

@sourcefrog

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions