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