Chris Lu
866d15023d
better error handling, check in for Gulácsi Tamás
12 years ago
Chris Lu
b0c7df0c3b
go fmt for all source codes
12 years ago
Chris Lu
50fafa3a2c
Revert "sort writables to be able to skew write probability to lesser ids (older volumes)"
This reverts commit ce7394f3bf
.
12 years ago
Chris Lu
bf9c4ed033
Revert "add cmd/dump - a dumper"
This reverts commit 5d2a1e8d48
.
12 years ago
Chris Lu
5b49065a57
Revert "add Frozen attribute to VolumeInfo"
This reverts commit dd685fdd8d
.
12 years ago
Tamás Gulácsi
dd685fdd8d
add Frozen attribute to VolumeInfo
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
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
018f0b73be
properly handle quick volume server restart
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
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
3ef7a34f49
add command line option to control garbage threshold
12 years ago
Chris Lu
94dbe60233
periodically compact volumes
12 years ago
Chris Lu
ccab4217e4
comment change: 3 times of the pulse
12 years ago
Chris Lu
86c8f248bd
support compacting a volume
12 years ago
Chris Lu
3aefea0fe2
show volume status
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
d63c5231ac
url error
13 years ago
Chris Lu
7ee12f14a8
add option to set server's ip address
13 years ago
Chris Lu
ca8c8a56b7
adjusting tests
13 years ago
Chris Lu
e340fbee82
removing set volume location
display version number
add default replication type
13 years ago
Chris Lu
df74f538f7
adjusting http status code for creation
switch to new lookup implementation
13 years ago
Chris Lu
73dbb3aed9
load configuration file, with topology configured
13 years ago
Chris Lu
a34570fc5b
read topology configuration
13 years ago
Chris Lu
e986dcf5e0
adjusting testing
13 years ago
Chris Lu
a1bc529db6
lots of fix
1. sending 404 if not found
2. handle node-up/node-down/changing-max/volume-become-full
13 years ago
Chris Lu
fc9f1da143
handle volume server up/down events
13 years ago
Chris Lu
e19fd68f18
working now to start/stop volume servers
13 years ago
Chris Lu
f3da0906ed
channel based visitor pattern
13 years ago
Chris Lu
b0e250d437
adjusting refresh topology writable volumes(not finished yet)
Need to refreshWritableVolumes for each replication type
13 years ago
Chris Lu
6671f576cb
adjusting log messages
13 years ago
Chris Lu
4846a7232e
adjusting return messages for growing volumes
13 years ago
Chris Lu
15ced2398e
adjusting maxVolumeCount if volume server changes it
13 years ago
Chris Lu
9b99240584
can auto grow 00 and 01 replication volumes
13 years ago
Chris Lu
e7c4ee1c64
register reported topology
13 years ago
Chris Lu
4a7833f1bf
replication related work
13 years ago
Chris Lu
e4c0693b03
replication related work on data nodes
13 years ago
Chris Lu
6daf221937
volume layout for each replication level
13 years ago
Chris Lu
8684b0999d
file renaming
13 years ago
Chris Lu
9f4630736d
rename Server to DataNode
formatting
13 years ago
Chris Lu
cdd64a8099
dc and rack aware volume allocation
13 years ago
Chris Lu
b95c9860ed
interface and default implementation for node
13 years ago
Chris Lu
6a84f50d24
interface and default implementation for node
13 years ago
Chris Lu
a467d5081c
adjusted tests
13 years ago
Chris Lu
c51884ce23
remove extra code
13 years ago