From: Zooko O'Whielacronx Date: Sat, 3 Jan 2009 18:29:41 +0000 (-0700) Subject: trivial: another place where I accidentally committed a note-to-self about the lease... X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=2788c80496faee799051a6beff70cbcacd4cb9b2;p=tahoe-lafs%2Ftahoe-lafs.git trivial: another place where I accidentally committed a note-to-self about the lease fields in the server-side share file --- diff --git a/src/allmydata/storage.py b/src/allmydata/storage.py index d6aef394..d3ae8675 100644 --- a/src/allmydata/storage.py +++ b/src/allmydata/storage.py @@ -34,7 +34,7 @@ NUM_RE=re.compile("^[0-9]+$") # The share file has the following layout: # 0x00: share file version number, four bytes, current version is 1 # 0x04: share data length, four bytes big-endian = A # See Footnote 1 below. -# 0x08: number of leases, four bytes big-endian (unused) +# 0x08: number of leases, four bytes big-endian # 0x0c: beginning of share data (see immutable.layout.WriteBucketProxy) # A+0x0c = B: first lease. Lease format is: # B+0x00: owner number, 4 bytes big-endian, 0 is reserved for no-owner