aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2019-11-11 12:43:24 -0800
committerGitHub <noreply@github.com>2019-11-11 12:43:24 -0800
commitd7852ebb3b8900baeff3d806f8fe2404c511aa5d (patch)
treeb41c48bff0926c422324bd1286ffb37abb990c93 /weed/command
parent9c2f3b1b0f2b7e4617975edde4f4872ff6418641 (diff)
parentd07701fa757991df6397ffde5887a70e5361d1f4 (diff)
downloadseaweedfs-d7852ebb3b8900baeff3d806f8fe2404c511aa5d.tar.xz
seaweedfs-d7852ebb3b8900baeff3d806f8fe2404c511aa5d.zip
Merge pull request #1102 from stlpmo-jn/add_ETCD_sequencer
Add etcd sequencer
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/scaffold.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 7a988cdcf..6fa72c730 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -346,5 +346,12 @@ scripts = """
"""
sleep_minutes = 17 # sleep minutes between each script execution
+sequencer_type = memory # Choose [memory|etcd] type for storing the file id sequence
+
+# when sequencer.type = etcd, set listen client urls of etcd cluster that store file id sequence
+# example : http://127.0.0.1:2379,http://127.0.0.1:2389
+sequencer_etcd_urls = http://127.0.0.1:2379
+
+
`
)