mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 14:24:52 +08:00
clean up etcd backing for sequence persistent storage. It uses some OS
specific calls and is not OS-agnostic.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user