Commit Graph

2821 Commits

Author SHA1 Message Date
Brian Warner
9a555e6710 client: closures confuse me, late binding bites me yet again 2006-12-03 00:53:07 -07:00
Brian Warner
3fe3d13d29 make sure the StorageServer goes underneath the client's basedir 2006-12-03 00:52:28 -07:00
Brian Warner
eee7d0d814 improving system test, still broken, possibly a Foolscap problem 2006-12-02 20:32:08 -07:00
Brian Warner
40f7fe3fe7 misc upload fixes and improvements 2006-12-02 20:31:43 -07:00
Brian Warner
4be4caaf0a deal with the face that peerids are always binary in tests 2006-12-02 20:31:02 -07:00
Brian Warner
6f7095ebb2 avoid race conditions and multiple-notify in the Roster 2006-12-02 20:29:09 -07:00
Brian Warner
7494837e2b make logging multiple nodes at once easier to follow 2006-12-02 20:27:50 -07:00
Brian Warner
79c45f5f4d rearrange node startup again, allowing Tub.registerReference to happen in startService rather than in some later turn. Also add a 'local_ip' file with which you can override the published IP address of the node 2006-12-02 19:37:31 -07:00
Brian Warner
114d71cb5f beginnings of a system test, with 5 nodes and a queen 2006-12-02 18:30:18 -07:00
Brian Warner
d13f9289ef rearrange client setup, factor out common Node functionality, add Uploader service to client 2006-12-02 18:27:18 -07:00
Zooko O'Whielacronx
1b616c81e1 prototype encoder 2006-12-02 17:31:26 -07:00
Brian Warner
23f663e12d rearrange names, add more RemoteInterfaces to make tests pass again 2006-12-02 17:25:57 -07:00
Brian Warner
30c16d6cb1 fix pyflakes warnings/errors 2006-12-02 16:28:46 -07:00
Brian Warner
08d9c49258 standardize on keeping nodeids (and all other SHA1-derived values as binary everywhere, only doing idlib.b2a() when interacting with a human or the filesystem 2006-12-02 16:26:26 -07:00
Brian Warner
70f58b195c improve RemoteInterface specifications 2006-12-02 16:03:09 -07:00
Brian Warner
e9d67ecc49 add RemoteInterfaces (foolscap schemas). some tests break. 2006-12-01 19:17:50 -07:00
Brian Warner
18d8911c51 change bucket writer protocol, give Encoder a RemoteReference instead of a file-like object 2006-12-01 19:17:26 -07:00
Brian Warner
09aedcac7b add the 'Denver Airport' design doc, for Chord-based peer selection 2006-12-01 19:09:14 -07:00
Brian Warner
f87008cf36 upload: add WriterProxy 2006-12-01 04:06:11 -07:00
Rob Kinninmont
14a2dbd553 split 'Bucket' into separate subclasses for read and write 2006-12-01 03:04:54 -07:00
Rob Kinninmont
5e40272785 prevent reading unfinished buckets 2006-12-01 02:48:27 -07:00
Brian Warner
c17a8db732 implement upload peer selection 2006-12-01 02:54:28 -07:00
Rob Kinninmont
cb89ca509c allow buckets written by previous runs to be read 2006-12-01 02:45:55 -07:00
Rob Kinninmont
eb79a405a9 added read and cross check to storage unit test, minor cleanups 2006-12-01 02:21:11 -07:00
Rob Kinninmont
c397ddf5ce added storage test 2006-11-30 22:38:42 -07:00
Rob Kinninmont
f9703da468 fix another read_attr bug 2006-11-30 20:49:07 -07:00
Rob Kinninmont
877dfb4eaf fix counting of bytes written 2006-11-30 20:37:36 -07:00
Rob Kinninmont
0aed9d1528 fix bug in bucketstore read/write _attr 2006-11-30 20:36:57 -07:00
Brian Warner
d525107081 manhole: ctrl-h is Backspace, not Delete. War Is Peace, Freedom Is Slavery, etc 2006-11-30 20:32:13 -07:00
Brian Warner
9b7fe88b98 fix test cases to not use camelCase 2006-11-30 20:20:00 -07:00
Brian Warner
b1be43da3d roadmap: connection management v1 milestone done 2006-11-30 20:19:24 -07:00
Brian Warner
5252d2d0df add Client.permute_peers 2006-11-30 20:18:51 -07:00
Brian Warner
036d41c0b2 fix up StorageServer so that unit tests will run again 2006-11-30 20:18:29 -07:00
Rob Kinninmont
94e051c1f0 rerecord all the storageserver patches in one go
darcs was dying trying to deal with the conflict resolution patches.
      
this adds a (very rough) bucketstore and storageserver.
probably needs lots of work both in api and implementation.
2006-11-30 20:14:23 -07:00
Rob Kinninmont
918a1fca23 added 'debugshell' module a convenient dumping ground for tools for manhole environment 2006-11-30 19:53:08 -07:00
Rob Kinninmont
9582494e28 added run-client2 target to makefile 2006-11-30 19:51:19 -07:00
Rob Kinninmont
d0fd8ddc8a added create_dirs makefile target to create initial dirs 2006-11-30 17:16:06 -07:00
Rob Kinninmont
d328dd2ca4 update assertutil to use twisted log instead of amdlib Log 2006-11-30 15:24:08 -07:00
Rob Kinninmont
07b1e3473d pulled in assertutil and with it humanreadable from amdlib.util 2006-11-30 15:22:25 -07:00
Brian Warner
4e5a6bf808 add ctrl-U and ctrl-H handling to our form of Manhole 2006-11-30 19:45:43 -07:00
Brian Warner
d2d0c6a06e change manhole setup for queen too 2006-11-30 19:38:38 -07:00
Brian Warner
5daa74d1af change manhole setup for client: create authorized_keys.8022 (or other portnum) 2006-11-30 19:34:25 -07:00
Brian Warner
0873f39de6 set Client.nodeid to our (ascii, base32) tubid 2006-11-30 19:20:17 -07:00
Brian Warner
831ecec0fb add Client.get_remote_service utility method 2006-11-30 18:17:36 -07:00
Brian Warner
14f2dec955 ignore all client-basedirNN directories 2006-11-30 18:17:26 -07:00
Brian Warner
f49a7a95c7 fix losing-client-connection handler 2006-11-30 18:13:46 -07:00
Brian Warner
646f888bbd implement more Roster stuff: add_peer, lost_peer. Changed Client service registration scheme. 2006-11-30 18:09:57 -07:00
Brian Warner
158fc107c0 start developing Roster, track all active peers 2006-11-30 17:43:15 -07:00
Brian Warner
cc86df067b add Manhole to queen (port 8021), also change manhole namespace to just have 'app' (for both queen and client) 2006-11-30 17:30:45 -07:00
Brian Warner
594c173361 add Manhole functionality to the client: port 8022, add an authorized_keys file to the client's basedir to enable it 2006-11-30 17:26:41 -07:00