Chris Lu
df2d3ea7c0
fix old tests that's found not working during travis integration.
11 years ago
Chris Lu
27c74a7e66
Major:
change replication_type to ReplicaPlacement, hopefully cleaner code
works for 9 possible ReplicaPlacement
xyz
x : number of copies on other data centers
y : number of copies on other racks
z : number of copies on current rack
x y z each can be 0,1,2
Minor:
weed server "-mdir" default to "-dir" if empty
11 years ago
Chris Lu
3b68711139
support for collections!
11 years ago
Chris Lu
1888d01fa0
adding etcd storage support for cluster meta data. Currently just
sequence. More to come...
11 years ago
Chris Lu
50269b74ce
add dataCenter option when assign file keys
add dataCenter option when starting volume servers
some work related to freeze a volume. Not tested yet.
12 years ago
Chris Lu
db8e27be6e
add lots of error checking by GThomas
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
12 years ago
Chris Lu
55f2627fcf
testing new directory structure
12 years ago
Chris Lu
ab6fb13ad7
avoid the "src" folder
12 years ago
Chris Lu
cb4e8ec16b
re-organize code directory structure
12 years ago
Chris Lu
b0c7df0c3b
go fmt for all source codes
12 years ago
Chris Lu
bf9c4ed033
Revert "add cmd/dump - a dumper"
This reverts commit 5d2a1e8d48
.
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
Chris Lu
ab5e9727a9
reading/setting/reporting correct volume version
12 years ago
Chris Lu
ca8c8a56b7
adjusting tests
12 years ago
Chris Lu
a34570fc5b
read topology configuration
12 years ago
Chris Lu
e986dcf5e0
adjusting testing
12 years ago
Chris Lu
9f4630736d
rename Server to DataNode
formatting
12 years ago
Chris Lu
cdd64a8099
dc and rack aware volume allocation
12 years ago
Chris Lu
b95c9860ed
interface and default implementation for node
12 years ago
Chris Lu
6a84f50d24
interface and default implementation for node
12 years ago
Chris Lu
a467d5081c
adjusted tests
12 years ago
Chris Lu
7a30a48027
assign a free volume randomly
12 years ago
Chris Lu
8d0ea07f5f
loading from json setup in tests
12 years ago
Chris Lu
f5d981ab4d
scaffold for tests
13 years ago