Brian Warner
|
bcf84c1238
|
storage.py: fix tests, timestamps get updated when leases are renewed
|
2007-10-31 12:31:33 -07:00 |
|
Brian Warner
|
70e7961088
|
storage.py: more test coverage, make sure leases survive resizing
|
2007-10-31 12:07:47 -07:00 |
|
Brian Warner
|
948e6b34dd
|
storage.py: improve test coverage even more
|
2007-10-31 01:44:01 -07:00 |
|
Brian Warner
|
4bd739435f
|
storage.py: more mutable-slot coverage, renewing/cancelling leases
|
2007-10-31 01:31:56 -07:00 |
|
Brian Warner
|
256ef1bf53
|
mutable slots: add some test coverage for lease-addition
|
2007-10-31 00:38:30 -07:00 |
|
Brian Warner
|
68d3d62002
|
mutable slots: finish up basic coding on server-side containers, add some tests. Remove all caching from MutableShareFile.
|
2007-10-31 00:10:40 -07:00 |
|
Brian Warner
|
b24c2925e8
|
checkpointing mutable-file work. Storage layer is 80% in place.
|
2007-10-30 19:47:36 -07:00 |
|
Brian Warner
|
8451b485a4
|
storage: fill alreadygot= with all known shares for the given storageindex, not just the ones they asked about
|
2007-09-17 00:48:40 -07:00 |
|
Brian Warner
|
d628d5f503
|
storage: remove the leftover incoming/XYZ/ directory when we're done with it
|
2007-09-15 14:34:04 -07:00 |
|
Brian Warner
|
e1e037e9b5
|
storage: always record lease expiration times as integers
|
2007-09-11 14:53:31 -07:00 |
|
Brian Warner
|
277e720f7c
|
storage: add version number to share data. Closes #90.
|
2007-09-04 09:00:24 -07:00 |
|
Brian Warner
|
fb65aadd82
|
storage: don't add a duplicate lease, renew the old one instead
|
2007-09-02 21:39:47 -07:00 |
|
Brian Warner
|
89c7f27572
|
storage: remove get_or_add_owner, since I don't know what we need yet
|
2007-09-02 15:03:40 -07:00 |
|
Brian Warner
|
94233b8813
|
storage: remove unused delete_bucket() method, lease-cancellation covers it
|
2007-09-02 15:00:29 -07:00 |
|
Brian Warner
|
85f3107b12
|
storage: handle simultanous uploads: add a lease for the pre-empted client
|
2007-09-02 14:57:49 -07:00 |
|
Brian Warner
|
0fe1205789
|
storage: replace sqlite with in-share lease records
|
2007-09-02 14:47:15 -07:00 |
|
Brian Warner
|
a605fe5cad
|
storage: use sqlite from either python2.5's stdlib or the pysqlite2 package
|
2007-08-28 23:28:52 -07:00 |
|
Brian Warner
|
2a63fe8b01
|
deletion phase3: add a sqlite database to track renew/cancel-lease secrets, implement renew/cancel_lease (but nobody calls them yet). Also, move the shares from BASEDIR/storage/* down to BASEDIR/storage/shares/*
|
2007-08-27 23:41:40 -07:00 |
|
Brian Warner
|
739ae1ccde
|
deletion phase1: send renew/cancel-lease secrets, but my_secret is fake, and the StorageServer discards them
|
2007-08-27 17:28:51 -07:00 |
|
Brian Warner
|
1aa22b9abd
|
client.py: add a 'debug_no_storage' option to throw out all share data
|
2007-07-16 18:07:03 -07:00 |
|
Brian Warner
|
8a39ee9034
|
storage.py: turn some assertions into preconditions
|
2007-07-13 19:30:48 -07:00 |
|
Brian Warner
|
9fc687cdfc
|
storage.py: handle num_segments != power-of-two without an assertion
|
2007-07-13 19:30:21 -07:00 |
|
Brian Warner
|
c6f52e379a
|
rename storageserver.py to just storage.py, since it has both server and client sides now
|
2007-07-13 17:25:45 -07:00 |
|