aboutsummaryrefslogtreecommitdiff
path: root/go/sequence/sequence.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2013-11-19 01:43:16 -0800
committerChris Lu <chris.lu@gmail.com>2013-11-19 01:43:16 -0800
commitbd0c7a3d281c04532e5fa849de1fdff955b9ea14 (patch)
tree3d3f7df1ac04478c79d495b125f6b5a9295d6404 /go/sequence/sequence.go
parentfa1bb3cee369329740f08db8fa8335c9389a459a (diff)
downloadseaweedfs-bd0c7a3d281c04532e5fa849de1fdff955b9ea14.tar.xz
seaweedfs-bd0c7a3d281c04532e5fa849de1fdff955b9ea14.zip
comment out etcd support due to its os specific system calls
Diffstat (limited to 'go/sequence/sequence.go')
-rw-r--r--go/sequence/sequence.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/go/sequence/sequence.go b/go/sequence/sequence.go
index bbc4bdf82..d86d88385 100644
--- a/go/sequence/sequence.go
+++ b/go/sequence/sequence.go
@@ -34,12 +34,12 @@ func NewFileSequencer(filepath string) (m *SequencerImpl) {
return
}
-func NewEtcdSequencer(etcdCluster string) (m *SequencerImpl) {
- m = &SequencerImpl{fileFullPath: "/weedfs/default/sequence"}
- m.metaStore = &metastore.MetaStore{metastore.NewMetaStoreEtcdBacking(etcdCluster)}
- m.initilize()
- return
-}
+//func NewEtcdSequencer(etcdCluster string) (m *SequencerImpl) {
+// m = &SequencerImpl{fileFullPath: "/weedfs/default/sequence"}
+// m.metaStore = &metastore.MetaStore{metastore.NewMetaStoreEtcdBacking(etcdCluster)}
+// m.initilize()
+// return
+//}
func (m *SequencerImpl) initilize() {
if !m.metaStore.Has(m.fileFullPath) {