Chris Lu
df2d3ea7c0
fix old tests that's found not working during travis integration.
11 years ago
Chris Lu
38260fcfb1
rename to _vacuum.go
11 years ago
Chris Lu
1818a2a2da
Change to protocol buffer for volume-join-masster message
Reduced size to about 1/5 of the previous json format message
11 years ago
Chris Lu
3b5035c468
1. v0.54
2. go vet found many printing format errors
11 years ago
Chris Lu
51939efeac
1. volume server now sends master server its max file key, so that
master server does not need to store the sequence on disk any more
2. fix raft server's failure to init cluster during bootstrapping
11 years ago
Chris Lu
0abd809663
Correct logic to allocate volume slots
11 years ago
Chris Lu
47620bb27a
correct assign logic for rack level. Still need to fix data center
level.
11 years ago
Chris Lu
ae2ef6e41d
mostly working correctly, but may have failed volume growing attempts
when slots are tight.
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
008aee0dc1
Add retrying logic to wait for other peers during cluster bootstrapping.
11 years ago
Chris Lu
2861275fb6
working filer server!
11 years ago
Chris Lu
0563773944
switch to ReadAt() for thread-safe read
fix bugs during volume compaction
11 years ago
Chris Lu
b2e8bfb54e
adjusting logs
11 years ago
Chris Lu
76bf72e8ef
adjust log level
11 years ago
Chris Lu
41143b3b78
toughen weedfs clustering, adding synchronizing max volume id among
peers in order to avoid the same volume id being assigned twice
1. moving raft.Server to topology
2. adding max volume id command for raft
11 years ago
Chris Lu
eec67d6008
fix bug on volume growing failure where free space equals what's
required.
more meaningful volume allocation errors
11 years ago
Chris Lu
cd10c277b2
can now delete a collection! Is this a dangerous feature? Only enabling
deleting "benchmark" collections for now.
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
ef4c2c0d1e
cleaner cluster messages
11 years ago
Chris Lu
3b68711139
support for collections!
11 years ago
Chris Lu
8f0e2f31af
remove unused parameter pulse
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
030905714b
issue 49: unwritable volume become writable after compacting
11 years ago
Chris Lu
55380a014d
issue 49: unwritable volume become writable after compacting
11 years ago
Chris Lu
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
11 years ago
Chris Lu
a74978baeb
ensure unwritable volumes are not in writables list
12 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
c2a6012ba5
avoid verbose log message when some volumes are full
12 years ago
Chris Lu
dd2245956f
better locking to prevent any possible memory access error
12 years ago
Chris Lu
ac15868694
clean up log fmt usage. Move to log for important data changes,
warnings.
12 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
915b16f97a
refactoring, same logic, but the store replication logic is moved to a
stand-alone file, for later easier improvements
12 years ago
Chris Lu
e4da140d0a
rename volume_location.go to volume_location_list.go
12 years ago
Chris Lu
a4369b35a7
merge changes from about dealing with read only volumes.
97482255d5
.diff
12 years ago
Chris Lu
9da3ea35ac
avoid empty data nodes
12 years ago
Chris Lu
1aea3512a4
return nil instead of memory access error
12 years ago
Chris Lu
a1d5a6298c
avoid missing configuration file error
12 years ago
Chris Lu
2d4a7ac9f9
avoid error when missing configuration file
12 years ago
Chris Lu
018df9ceb0
avoid file not exist error
12 years ago
Chris Lu
db8e27be6e
add lots of error checking by GThomas
12 years ago
Chris Lu
79d11ac951
go vet
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
12 years ago