Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
0bd7ced7c2
fix test
6 years ago
Chris Lu
30f138a538
fix tests
8 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
9 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
Brian McQueen
d56c748fa8
switch it back to chris's repo
10 years ago
Brian McQueen
c0dfdf4392
switch to my forked repo
10 years ago
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
10 years ago
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
10 years ago
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
10 years ago
Chris Lu
df2d3ea7c0
fix old tests that's found not working during travis integration.
11 years ago
Chris Lu
f7f582ec86
1. refactoring, merge "replication" logic into "topology" package
2. when growing volumes, additional preferred "rack" and "dataNode"
paraemters are also provided. Previously only "dataCenter" paraemter is
provided.
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
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
a4369b35a7
merge changes from about dealing with read only volumes.
97482255d5
.diff
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
6ce41e30a4
change to 3-digit replication types
12 years ago
Chris Lu
9b99240584
can auto grow 00 and 01 replication volumes
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
12 years ago