aboutsummaryrefslogtreecommitdiff
path: root/go/replication
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2013-11-10 01:31:50 -0800
committerChris Lu <chris.lu@gmail.com>2013-11-10 01:31:50 -0800
commit1888d01fa0329f60732ab6d7defc95ee257af4e0 (patch)
tree8444dbaaf0c3fd5c4ac33c31e177bc9b883cdd58 /go/replication
parent5cb6590eaee59bd02fbe3e58084aba8079861112 (diff)
downloadseaweedfs-1888d01fa0329f60732ab6d7defc95ee257af4e0.tar.xz
seaweedfs-1888d01fa0329f60732ab6d7defc95ee257af4e0.zip
adding etcd storage support for cluster meta data. Currently just
sequence. More to come...
Diffstat (limited to 'go/replication')
-rw-r--r--go/replication/volume_growth_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/go/replication/volume_growth_test.go b/go/replication/volume_growth_test.go
index 031972bee..99f82a7fa 100644
--- a/go/replication/volume_growth_test.go
+++ b/go/replication/volume_growth_test.go
@@ -1,6 +1,7 @@
package replication
import (
+ "code.google.com/p/weed-fs/go/sequence"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/topology"
"encoding/json"
@@ -79,7 +80,7 @@ func setup(topologyLayout string) *topology.Topology {
//need to connect all nodes first before server adding volumes
topo, err := topology.NewTopology("weedfs", "/etc/weedfs/weedfs.conf",
- "/tmp", "testing", 32*1024, 5)
+ sequence.NewMemorySequencer(), 32*1024, 5)
if err != nil {
panic("error: " + err.Error())
}