[tahoe-lafs-trac-stream] [tahoe-lafs] #2053: make "tahoe backup" avoid "piling up" if the backup job takes longer than the period
tahoe-lafs
trac at tahoe-lafs.org
Thu Aug 8 11:37:49 UTC 2013
#2053: make "tahoe backup" avoid "piling up" if the backup job takes longer than
the period
-----------------------------+--------------------------
Reporter: zooko | Owner: daira
Type: enhancement | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.10.0
Resolution: | Keywords: tahoe-backup
Launchpad Bug: |
-----------------------------+--------------------------
Comment (by daira):
The tricky design decision here is how to detect that another backup is
running (since they will be in different processes, currently). I can
think of several possibilities:
1. Move the backup job into the gateway.
2. Have a longer-running process (perhaps the gateway but not necessarily)
schedule backups and ensure mutual exclusion.
3. Have the backup process acquire a lock (perhaps just by opening the
backupdb in exclusive mode) while it runs.
3 seems simplest starting from where we are.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2053#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list