aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
author李海 <hai.li@ikang.com>2021-03-25 18:49:26 +0800
committer李海 <hai.li@ikang.com>2021-03-25 18:49:26 +0800
commit69b2dab9c6a6f0c7f2bb2e2e19f76f7887a5fb83 (patch)
tree1eeb3126ecad3751f4da904b01481d54de137016 /weed/command
parent82dfe06066a4fbd6d8acc35040d32880643d9a26 (diff)
downloadseaweedfs-69b2dab9c6a6f0c7f2bb2e2e19f76f7887a5fb83.tar.xz
seaweedfs-69b2dab9c6a6f0c7f2bb2e2e19f76f7887a5fb83.zip
add a snowflake sequencer as more robust fid generator, but less compressable than small auto-inc id
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/scaffold.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index e990bb3ea..52b547563 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -506,7 +506,7 @@ default = "localhost:8888" # used by maintenance scripts if the scripts needs
[master.sequencer]
-type = "raft" # Choose [raft|etcd] type for storing the file id sequence
+type = "raft" # Choose [raft|etcd|snowflake] 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"