diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-03-25 10:29:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-25 10:29:07 -0700 |
| commit | b8d3f11e92b1c7efe6f208452a349be9e085783b (patch) | |
| tree | 27157bafcd013483e815c00fddb7ae6e3e16e901 /weed/command/scaffold.go | |
| parent | 82dfe06066a4fbd6d8acc35040d32880643d9a26 (diff) | |
| parent | 06be5dc6c3cd50c461656e35a53585dd44d94793 (diff) | |
| download | seaweedfs-b8d3f11e92b1c7efe6f208452a349be9e085783b.tar.xz seaweedfs-b8d3f11e92b1c7efe6f208452a349be9e085783b.zip | |
Merge pull request #1945 from bash99/master
Add a snowflake sequencer as more robust fid generator, but less compressable than small auto-inc id
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 2 |
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" |
