clean up etcd backing for sequence persistent storage. It uses some OS

specific calls and is not OS-agnostic.
This commit is contained in:
Chris Lu
2013-12-03 23:30:55 -08:00
parent 5fdb1d89ce
commit 2e2f426fe2
5 changed files with 0 additions and 70 deletions

View File

@@ -40,11 +40,7 @@ func NewMasterServer(r *mux.Router, version string, port int, metaFolder string,
garbageThreshold: garbageThreshold,
whiteList: whiteList,
}
//if len(*etcdCluster) == 0 {
seq := sequence.NewFileSequencer(path.Join(metaFolder, "weed.seq"))
//} else {
// seq = sequence.NewEtcdSequencer(*etcdCluster)
//}
var e error
if ms.topo, e = topology.NewTopology("topo", confFile, seq,
uint64(volumeSizeLimitMB)*1024*1024, pulseSeconds); e != nil {