Chris Lu
5f278c6bd7
move to 0.27
12 years ago
Tamás Gulácsi
92ffba2ab9
fix errors with frozen volume loading
12 years ago
Tamás Gulácsi
f262fed197
add "freeze" subcommand to volume
12 years ago
Tamás Gulácsi
dd685fdd8d
add Frozen attribute to VolumeInfo
12 years ago
Tamás Gulácsi
bf0ccf3461
add CdbMap
12 years ago
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.
12 years ago
Tamás Gulácsi
8243710351
add error return for (Un)GzipData
12 years ago
Tamás Gulácsi
ce7394f3bf
sort writables to be able to skew write probability to lesser ids (older volumes)
12 years ago
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.
12 years ago
Chris Lu
e9eb8949ba
set to beta version for 0.27
12 years ago
Chris Lu
3c8dd8592a
compare read file size with in-memory file size
12 years ago
Chris Lu
c35fe9d631
escape file name when there is a quote inside
12 years ago
Chris Lu
018f0b73be
properly handle quick volume server restart
12 years ago
Chris Lu
264678c9b1
Default more not to gzip since gzip can be done on client side.
12 years ago
Chris Lu
46b8c4cc98
use bits in needle.Flags to mark hasName and hasMime
12 years ago
Chris Lu
9b95430e9f
add store metadata:file name, mime type, is_gzipped
add support to upload .gz file directly
12 years ago
Chris Lu
37afb31d05
parallel logic for read and write
12 years ago
Chris Lu
315879ce47
fix write error
12 years ago
Chris Lu
1943647860
can read/write files in format version 2
12 years ago
Chris Lu
11cc489ca5
refactoring
12 years ago
Chris Lu
79a49ada39
refactor for reading super block
12 years ago
Chris Lu
ebe7af1833
refactor a bit
12 years ago
Chris Lu
ab5e9727a9
reading/setting/reporting correct volume version
12 years ago
Chris Lu
6c8810e4d2
ensure only compatible volume versions are writable
12 years ago
Chris Lu
8af7906b3d
better log message
12 years ago
Chris Lu
6201ed537e
reporting volume size as early as possible
12 years ago
Chris Lu
b3df7673ed
move to 0.25, previous 0.23 and 0.24 are not correct when managing the
volumes
12 years ago
Chris Lu
7e83a75fba
correctly count volumes, to ensure proper capacity management
12 years ago
Chris Lu
e19edccf3a
ensure properly make volume unwritable. Previously passing volumeInfo
reference, causing make wrong volumes unwritable!
12 years ago
Chris Lu
2deee3f47c
added proper log messages
12 years ago
Chris Lu
2add211a86
adjust default read timeout to 3 seconds
12 years ago
Chris Lu
8b60de622e
fix compilation error
12 years ago
Chris Lu
fa61bb1867
remove log message
12 years ago
Chris Lu
3ef7a34f49
add command line option to control garbage threshold
12 years ago
Chris Lu
94dbe60233
periodically compact volumes
12 years ago
Chris Lu
5e020196f6
add version type
12 years ago
Chris Lu
5dc509c6e4
cleaner code, better error handling
12 years ago
Chris Lu
e00d8dc536
adjust formatting
12 years ago
Chris Lu
084e0ab7bb
adding exception handling for this case
12 years ago
Chris Lu
f5a8382933
add warning message
12 years ago
Chris Lu
9782ace1bd
add locking when adjusting topology
12 years ago
Chris Lu
6f606bb350
better error message
12 years ago
Chris Lu
b23e51f205
remove debug message
12 years ago
Chris Lu
166a5fc524
Issue 11: Failed to write to replicas for volumen 3
Fix displaying wrong error message
12 years ago
Chris Lu
ecd0399f8d
Issue 11: Failed to write to replicas for volumen 3
Avoid unnecessary master lookup
12 years ago
Chris Lu
ccab4217e4
comment change: 3 times of the pulse
12 years ago
Chris Lu
01f2fcf72d
remove comments
12 years ago
Chris Lu
86c8f248bd
support compacting a volume
12 years ago
Chris Lu
9630825576
adjusting gzip logic
12 years ago
Chris Lu
6f7b0cafee
adjust time_wait to 1 second
12 years ago