Commit graph

1538 commits

Author SHA1 Message Date
Chris Lu f35b958d90 adding visit function for the NeedleMap 2013-01-20 11:27:32 -08:00
Chris Lu 866d15023d better error handling, check in for Gulácsi Tamás 2013-01-20 03:40:04 -08:00
Chris Lu 768eaff4b8 fix debug message error 2013-01-19 19:58:31 -08:00
Chris Lu ec7dfeeaf8 ignore compiled binary file 2013-01-19 19:50:26 -08:00
Chris Lu 921f1c626a fix debug message displaying 2013-01-19 19:49:57 -08:00
Chris Lu b0c7df0c3b go fmt for all source codes 2013-01-17 00:56:56 -08:00
Chris Lu ca9056d673 cosmetics change 2013-01-17 00:22:18 -08:00
Chris Lu 84c9ac66ac add git ignore 2013-01-17 00:17:00 -08:00
Chris Lu 50fafa3a2c Revert "sort writables to be able to skew write probability to lesser ids (older volumes)"
This reverts commit ce7394f3bf.
2013-01-17 00:15:13 -08:00
Chris Lu a502b78c3f Revert "add error return for (Un)GzipData"
This reverts commit 8243710351.
2013-01-17 00:15:09 -08:00
Chris Lu bf9c4ed033 Revert "add cmd/dump - a dumper"
This reverts commit 5d2a1e8d48.
2013-01-17 00:15:05 -08:00
Chris Lu d1494ea786 Revert "add CdbMap"
This reverts commit bf0ccf3461.
2013-01-17 00:15:01 -08:00
Chris Lu 5b49065a57 Revert "add Frozen attribute to VolumeInfo"
This reverts commit dd685fdd8d.
2013-01-17 00:14:58 -08:00
Chris Lu 3b21317863 Revert "add "freeze" subcommand to volume"
This reverts commit f262fed197.
2013-01-17 00:14:52 -08:00
Chris Lu ee08e38126 Revert "fix errors with frozen volume loading"
This reverts commit 92ffba2ab9.
2013-01-17 00:14:45 -08:00
Chris Lu be83a56bb9 Merge remote-tracking branch 'choose_remote_name/cdb' 2013-01-15 18:08:19 -08:00
Chris Lu 5f278c6bd7 move to 0.27 2013-01-14 14:23:43 -08:00
Tamás Gulácsi 92ffba2ab9 fix errors with frozen volume loading 2013-01-14 22:18:00 +01:00
Tamás Gulácsi f262fed197 add "freeze" subcommand to volume 2013-01-14 21:42:35 +01:00
Tamás Gulácsi dd685fdd8d add Frozen attribute to VolumeInfo 2013-01-13 17:07:38 +01:00
Tamás Gulácsi bf0ccf3461 add CdbMap 2013-01-12 19:56:47 +01:00
Tamás Gulácsi 5d2a1e8d48 add cmd/dump - a dumper
Walk needed to be added to NeedleMap and CompactMap, to be able to add WalkKeys and WalkValues to volume. This is needed for iterating through all the stored needles in a volume - this was dump's purpose.
2013-01-05 23:06:44 +01:00
Tamás Gulácsi 8243710351 add error return for (Un)GzipData 2013-01-04 23:33:07 +01:00
Tamás Gulácsi ce7394f3bf sort writables to be able to skew write probability to lesser ids (older volumes) 2013-01-04 22:49:40 +01:00
Chris Lu 8fb8ebdf14 master can redirect GET/DELETE/POST requests to volume servers. So
clients does not always need to remember the volume server locations.
This is good for low~medium sized web site traffic.
2013-01-04 01:02:52 -08:00
Chris Lu e9eb8949ba set to beta version for 0.27 2013-01-02 15:41:43 -08:00
Chris Lu 3c8dd8592a compare read file size with in-memory file size 2013-01-02 15:39:55 -08:00
Chris Lu c35fe9d631 escape file name when there is a quote inside 2013-01-02 13:40:00 -08:00
Chris Lu 018f0b73be properly handle quick volume server restart 2012-12-22 16:26:02 -08:00
Chris Lu 264678c9b1 Default more not to gzip since gzip can be done on client side. 2012-12-22 13:15:09 -08:00
Chris Lu 46b8c4cc98 use bits in needle.Flags to mark hasName and hasMime 2012-12-22 12:38:09 -08:00
Chris Lu 9b95430e9f add store metadata:file name, mime type, is_gzipped
add support to upload .gz file directly
2012-12-22 02:10:45 -08:00
Chris Lu 37afb31d05 parallel logic for read and write 2012-12-21 02:20:38 -08:00
Chris Lu 315879ce47 fix write error 2012-12-21 02:15:29 -08:00
Chris Lu 1943647860 can read/write files in format version 2 2012-12-21 02:13:02 -08:00
Chris Lu 11cc489ca5 refactoring 2012-12-21 00:36:55 -08:00
Chris Lu 79a49ada39 refactor for reading super block 2012-12-20 22:32:21 -08:00
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 b3df7673ed move to 0.25, previous 0.23 and 0.24 are not correct when managing the
volumes
2012-12-03 21:31:12 -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 2add211a86 adjust default read timeout to 3 seconds 2012-11-26 12:38:35 -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