aboutsummaryrefslogtreecommitdiff
path: root/go.mod
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 /go.mod
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 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 028d16cf4..e792af37b 100644
--- a/go.mod
+++ b/go.mod
@@ -13,6 +13,7 @@ require (
github.com/Shopify/sarama v1.23.1
github.com/aws/aws-sdk-go v1.34.30
github.com/buraksezer/consistent v0.0.0-20191006190839-693edf70fd72
+ github.com/bwmarrin/snowflake v0.3.0
github.com/cespare/xxhash v1.1.0
github.com/chrislusf/raft v1.0.4
github.com/coreos/go-semver v0.3.0 // indirect