diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-12-03 23:30:55 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-12-03 23:30:55 -0800 |
| commit | 2e2f426fe28f8e3d94d7d1dee3afde2655425741 (patch) | |
| tree | 9862c5580b88670d2505a1752a7fb62fcaced6ea /go/sequence/sequence.go | |
| parent | 5fdb1d89cebbb2f4947a1d2b356b83f90b951239 (diff) | |
| download | seaweedfs-2e2f426fe28f8e3d94d7d1dee3afde2655425741.tar.xz seaweedfs-2e2f426fe28f8e3d94d7d1dee3afde2655425741.zip | |
clean up etcd backing for sequence persistent storage. It uses some OS
specific calls and is not OS-agnostic.
Diffstat (limited to 'go/sequence/sequence.go')
| -rw-r--r-- | go/sequence/sequence.go | 7 |
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 |
