Commit graph

141 commits

Author SHA1 Message Date
Chris Lu ebe7af1833 refactor a bit 2012-12-20 21:57:03 -08:00
Chris Lu ab5e9727a9 reading/setting/reporting correct volume version 2012-12-17 17:51:39 -08:00
Chris Lu 6c8810e4d2 ensure only compatible volume versions are writable 2012-12-17 16:48:54 -08:00
Chris Lu 8af7906b3d better log message 2012-12-17 01:17:06 -08:00
Chris Lu 6201ed537e reporting volume size as early as possible 2012-12-03 22:54:08 -08:00
Chris Lu 7e83a75fba correctly count volumes, to ensure proper capacity management 2012-12-03 21:27:57 -08:00
Chris Lu e19edccf3a ensure properly make volume unwritable. Previously passing volumeInfo
reference, causing make wrong volumes unwritable!
2012-12-03 20:28:12 -08:00
Chris Lu 2deee3f47c added proper log messages 2012-11-26 13:12:21 -08:00
Chris Lu 8b60de622e fix compilation error 2012-11-23 18:14:28 -08:00
Chris Lu fa61bb1867 remove log message 2012-11-23 18:07:43 -08:00
Chris Lu 3ef7a34f49 add command line option to control garbage threshold 2012-11-23 17:31:54 -08:00
Chris Lu 94dbe60233 periodically compact volumes 2012-11-23 17:03:27 -08:00
Chris Lu 5e020196f6 add version type 2012-11-21 10:52:08 -08:00
Chris Lu 5dc509c6e4 cleaner code, better error handling 2012-11-20 01:45:36 -08:00
Chris Lu e00d8dc536 adjust formatting 2012-11-20 00:54:37 -08:00
Chris Lu 084e0ab7bb adding exception handling for this case 2012-11-20 00:42:45 -08:00
Chris Lu f5a8382933 add warning message 2012-11-13 12:13:59 -08:00
Chris Lu 9782ace1bd add locking when adjusting topology 2012-11-13 12:13:40 -08:00
Chris Lu b23e51f205 remove debug message 2012-11-12 11:07:03 -08:00
Chris Lu ecd0399f8d Issue 11: Failed to write to replicas for volumen 3
Avoid unnecessary master lookup
2012-11-12 01:26:18 -08:00
Chris Lu ccab4217e4 comment change: 3 times of the pulse 2012-11-11 22:37:12 -08:00
Chris Lu 01f2fcf72d remove comments 2012-11-09 15:40:28 -08:00
Chris Lu 86c8f248bd support compacting a volume 2012-11-07 01:51:43 -08:00
Chris Lu 9630825576 adjusting gzip logic 2012-10-23 10:59:40 -07:00
Chris Lu 3aefea0fe2 show volume status 2012-10-10 01:10:05 -07:00
Chris Lu 6b1e60582c adding file count and deletion count 2012-10-09 20:53:31 -07:00
Chris Lu 6ce41e30a4 change to 3-digit replication types 2012-09-30 02:20:33 -07:00
Chris Lu 2fe4371899 change to a more memory efficient map, implemented by several lists of
<key,offset,size>
2012-09-29 16:07:24 -07:00
Chris Lu 98022f2b3d use NeedleValue directly instead of additional pointer, to reduce memory
usage
2012-09-27 21:46:32 -07:00
Chris Lu 33d5778a46 cleaner error message 2012-09-26 20:30:05 -07:00
Chris Lu 20706d8cf2 more error handling 2012-09-26 14:28:46 -07:00
Chris Lu a847e2beee better error reporting and handling 2012-09-26 13:38:45 -07:00
Chris Lu 4b3676a54b delete replications, untested yet 2012-09-26 03:27:10 -07:00
Chris Lu 5d86b50782 fixes 2012-09-26 02:29:16 -07:00
Chris Lu d63c5231ac url error 2012-09-26 02:02:15 -07:00
Chris Lu 7ee12f14a8 add option to set server's ip address 2012-09-26 01:55:56 -07:00
Chris Lu ac5f227aae correct crc
correct volume id lookup
2012-09-25 15:37:13 -07:00
Chris Lu ca8c8a56b7 adjusting tests 2012-09-24 02:25:31 -07:00
Chris Lu e340fbee82 removing set volume location
display version number
add default replication type
2012-09-24 02:01:53 -07:00
Chris Lu df74f538f7 adjusting http status code for creation
switch to new lookup implementation
2012-09-23 15:45:26 -07:00
Chris Lu 2002111a80 removing volume list 2012-09-23 14:51:25 -07:00
Chris Lu 73dbb3aed9 load configuration file, with topology configured 2012-09-22 20:46:31 -07:00
Chris Lu a34570fc5b read topology configuration 2012-09-22 00:01:13 -07:00
Chris Lu e986dcf5e0 adjusting testing 2012-09-21 01:31:52 -07:00
Chris Lu 77c0de914a now any data node can accept storing files
files are automatically copied to replicas
2012-09-20 21:03:40 -07:00
Chris Lu 08dcf2f035 refactoring allocate_volume operation 2012-09-20 18:02:56 -07:00
Chris Lu 5e97179d06 refactoring content uploading 2012-09-20 17:58:29 -07:00
Chris Lu 7d8e9f829c more error messages 2012-09-20 02:53:23 -07:00
Chris Lu 462f2ed958 for moved volumes, redirect with code 501 2012-09-20 02:47:32 -07:00
Chris Lu a1bc529db6 lots of fix
1. sending 404 if not found
2. handle node-up/node-down/changing-max/volume-become-full
2012-09-20 02:11:08 -07:00