Tamás Gulácsi
92ffba2ab9
fix errors with frozen volume loading
13 years ago
Tamás Gulácsi
f262fed197
add "freeze" subcommand to volume
13 years ago
Tamás Gulácsi
dd685fdd8d
add Frozen attribute to VolumeInfo
13 years ago
Tamás Gulácsi
bf0ccf3461
add CdbMap
13 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.
13 years ago
Tamás Gulácsi
8243710351
add error return for (Un)GzipData
13 years ago
Chris Lu
3c8dd8592a
compare read file size with in-memory file size
13 years ago
Chris Lu
018f0b73be
properly handle quick volume server restart
13 years ago
Chris Lu
264678c9b1
Default more not to gzip since gzip can be done on client side.
13 years ago
Chris Lu
46b8c4cc98
use bits in needle.Flags to mark hasName and hasMime
13 years ago
Chris Lu
9b95430e9f
add store metadata:file name, mime type, is_gzipped
add support to upload .gz file directly
13 years ago
Chris Lu
37afb31d05
parallel logic for read and write
13 years ago
Chris Lu
315879ce47
fix write error
13 years ago
Chris Lu
1943647860
can read/write files in format version 2
13 years ago
Chris Lu
11cc489ca5
refactoring
13 years ago
Chris Lu
79a49ada39
refactor for reading super block
13 years ago
Chris Lu
ebe7af1833
refactor a bit
13 years ago
Chris Lu
ab5e9727a9
reading/setting/reporting correct volume version
13 years ago
Chris Lu
6c8810e4d2
ensure only compatible volume versions are writable
13 years ago
Chris Lu
8af7906b3d
better log message
13 years ago
Chris Lu
6201ed537e
reporting volume size as early as possible
13 years ago
Chris Lu
8b60de622e
fix compilation error
13 years ago
Chris Lu
fa61bb1867
remove log message
13 years ago
Chris Lu
94dbe60233
periodically compact volumes
13 years ago
Chris Lu
5e020196f6
add version type
13 years ago
Chris Lu
5dc509c6e4
cleaner code, better error handling
13 years ago
Chris Lu
e00d8dc536
adjust formatting
13 years ago
Chris Lu
084e0ab7bb
adding exception handling for this case
13 years ago
Chris Lu
f5a8382933
add warning message
13 years ago
Chris Lu
b23e51f205
remove debug message
13 years ago
Chris Lu
ecd0399f8d
Issue 11: Failed to write to replicas for volumen 3
Avoid unnecessary master lookup
13 years ago
Chris Lu
01f2fcf72d
remove comments
13 years ago
Chris Lu
86c8f248bd
support compacting a volume
13 years ago
Chris Lu
9630825576
adjusting gzip logic
13 years ago
Chris Lu
6b1e60582c
adding file count and deletion count
13 years ago
Chris Lu
6ce41e30a4
change to 3-digit replication types
13 years ago
Chris Lu
2fe4371899
change to a more memory efficient map, implemented by several lists of
<key,offset,size>
13 years ago
Chris Lu
98022f2b3d
use NeedleValue directly instead of additional pointer, to reduce memory
usage
13 years ago
Chris Lu
33d5778a46
cleaner error message
13 years ago
Chris Lu
5d86b50782
fixes
13 years ago
Chris Lu
7ee12f14a8
add option to set server's ip address
13 years ago
Chris Lu
ac5f227aae
correct crc
correct volume id lookup
13 years ago
Chris Lu
e340fbee82
removing set volume location
display version number
add default replication type
13 years ago
Chris Lu
2002111a80
removing volume list
13 years ago
Chris Lu
77c0de914a
now any data node can accept storing files
files are automatically copied to replicas
13 years ago
Chris Lu
5e97179d06
refactoring content uploading
13 years ago
Chris Lu
462f2ed958
for moved volumes, redirect with code 501
13 years ago
Chris Lu
4846a7232e
adjusting return messages for growing volumes
13 years ago
Chris Lu
9b99240584
can auto grow 00 and 01 replication volumes
13 years ago
Chris Lu
6892842021
verify adding columes should work well
13 years ago