diff options
| author | 李海 <hai.li@ikang.com> | 2021-03-25 18:49:26 +0800 |
|---|---|---|
| committer | 李海 <hai.li@ikang.com> | 2021-03-25 18:49:26 +0800 |
| commit | 69b2dab9c6a6f0c7f2bb2e2e19f76f7887a5fb83 (patch) | |
| tree | 1eeb3126ecad3751f4da904b01481d54de137016 /go.mod | |
| parent | 82dfe06066a4fbd6d8acc35040d32880643d9a26 (diff) | |
| download | seaweedfs-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.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
