Commit graph

97 commits

Author SHA1 Message Date
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
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
Chris Lu 3c8dd8592a compare read file size with in-memory file size 2013-01-02 15:39:55 -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 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 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 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 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 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 5d86b50782 fixes 2012-09-26 02:29:16 -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 e340fbee82 removing set volume location
display version number
add default replication type
2012-09-24 02:01:53 -07:00
Chris Lu 2002111a80 removing volume list 2012-09-23 14:51:25 -07:00