[tahoe-dev] weekly Tahoe dev call report: 2012-07-10
Terrell Russell
terrellrussell at gmail.com
Wed Jul 11 15:27:53 UTC 2012
On Wed, Jul 11, 2012 at 11:17 AM, Brian <warner at lothar.com> wrote:
> davidsarah: hm, now I'm not sure that it'd be safe to restore a stale
> leasedb from a backup: I'm thinking of a sequence where:
>
> 1: there's a soon-to-expire lease on a share
> 2: a backup snapshot is taken
> 3: someone adds a long-to-expire lease
> 4: leasedb is lost
> 5: leasedb is restored from the backup snapshot
> 6: the short lease expires, share deleted
> 7: the long lease is still valid
>
> So maybe backups *aren't* appropriate, or at least when we restore from
> a backup, we should still add starter leases to all shares (but also
> preserve the leases from the backup, for accounting purposes).
>
>
> cheers,
> -Brian
Leases are per-share? And not per file... so "#6, share deleted" is
still only 1 of N being deleted...
Are leases (across the N servers) managed independently enough that a
repairer would be able to recover lost shares?
Terrell
More information about the tahoe-dev
mailing list