aboutsummaryrefslogtreecommitdiff
path: root/go/sequence/sequence.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/sequence/sequence.go')
-rw-r--r--go/sequence/sequence.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/go/sequence/sequence.go b/go/sequence/sequence.go
index d86d88385..493804ec6 100644
--- a/go/sequence/sequence.go
+++ b/go/sequence/sequence.go
@@ -34,13 +34,6 @@ 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 (m *SequencerImpl) initilize() {
if !m.metaStore.Has(m.fileFullPath) {
m.FileIdSequence = FileIdSaveInterval