aboutsummaryrefslogtreecommitdiff
path: root/go/topology/topology.go
AgeCommit message (Collapse)AuthorFilesLines
2016-06-02directory structure change to work with glideChris Lu1-189/+0
glide has its own requirements. My previous workaround caused me some code checkin errors. Need to fix this.
2016-05-30rwlock concurrent read mapChris Lu1-5/+5
2015-05-03break away from code.google.comchrislusf1-1/+1
2015-04-16Change all chrislusf/weed-fs links to point to chrislu/seaweedfsStuart P. Bentley1-5/+5
2015-04-06change count to uint64 to fix #109chrislusf1-1/+1
fix https://github.com/chrislusf/weed-fs/issues/109
2015-03-10follow golint suggestionschrislusf1-2/+1
2015-03-09Add read only public port on volume serverchrislusf1-5/+1
Add read only public port on volume server
2015-01-18Fix compilation error.Chris Lu1-1/+1
2015-01-18Add optional admin port to volume server, to seperate admin operations from ↵Chris Lu1-1/+7
normal file operations.
2015-01-13fix some typosLei Xue1-1/+1
2014-12-08Add read-write lock to guard topology changes on new collections and ttls.chrislusf1-15/+14
2014-10-26formatting code by: goimports -w=true .Chris Lu1-3/+4
2014-10-25adjust visibilityChris Lu1-1/+1
2014-10-25fix typoChris Lu1-1/+1
2014-09-25use github.com/chrislusf instead of github.com/aszxqwwyy1-4/+4
2014-09-25use github.com/aszxqw instead of code.google.com/pwyy1-4/+4
2014-09-20add TTL supportChris Lu1-7/+14
The volume TTL and file TTL are not necessarily the same. as long as file TTL is smaller than volume TTL, it'll be fine. volume TTL is used when assigning file id, e.g. http://.../dir/assign?ttl=3h file TTL is used when uploading
2014-04-21Change to protocol buffer for volume-join-masster messageChris Lu1-6/+15
Reduced size to about 1/5 of the previous json format message
2014-04-161. volume server now sends master server its max file key, so thatChris Lu1-4/+5
master server does not need to store the sequence on disk any more 2. fix raft server's failure to init cluster during bootstrapping
2014-04-131. refactoring, merge "replication" logic into "topology" packageChris Lu1-2/+7
2. when growing volumes, additional preferred "rack" and "dataNode" paraemters are also provided. Previously only "dataCenter" paraemter is provided.
2014-04-11Add retrying logic to wait for other peers during cluster bootstrapping.Chris Lu1-4/+9
2014-03-19switch to ReadAt() for thread-safe readChris Lu1-3/+3
fix bugs during volume compaction
2014-03-15toughen weedfs clustering, adding synchronizing max volume id amongChris Lu1-3/+24
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
2014-03-10can now delete a collection! Is this a dangerous feature? Only enablingChris Lu1-1/+10
deleting "benchmark" collections for now.
2014-03-02Major:Chris Lu1-15/+5
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
2014-02-09cleaner cluster messagesChris Lu1-0/+2
2013-11-12support for collections!Chris Lu1-20/+19
2013-11-10adding etcd storage support for cluster meta data. Currently justChris Lu1-2/+2
sequence. More to come...
2013-09-01issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>Chris Lu1-1/+1
some basic changes to parse upload url
2013-08-08switching to temporarily use glog libraryChris Lu1-4/+4
2013-07-13clean up log fmt usage. Move to log for important data changes,Chris Lu1-3/+2
warnings.
2013-06-19add dataCenter option when assign file keysChris Lu1-19/+9
add dataCenter option when starting volume servers some work related to freeze a volume. Not tested yet.
2013-04-16refactoring, same logic, but the store replication logic is moved to aChris Lu1-2/+1
stand-alone file, for later easier improvements
2013-03-20avoid empty data nodesChris Lu1-1/+1
2013-03-19avoid missing configuration file errorChris Lu1-2/+3
2013-03-19avoid error when missing configuration fileChris Lu1-0/+2
2013-03-19avoid file not exist errorChris Lu1-1/+2
2013-02-26add lots of error checking by GThomasChris Lu1-6/+6
2013-02-10testing compilation with remove packageChris Lu1-0/+148