mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
57ab1f8516
`topology.Leader()` was using a backoff that typically resulted in at least a 5s delay when initially starting a master and raft server. This changes the backoff algorithm to use exponential backoff starting with 100ms and waiting up to 20s for leader selection. Related to #4307
246 lines
11 KiB
Modula-2
246 lines
11 KiB
Modula-2
module github.com/seaweedfs/seaweedfs
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
cloud.google.com/go v0.110.0 // indirect
|
|
cloud.google.com/go/pubsub v1.28.0
|
|
cloud.google.com/go/storage v1.29.0
|
|
github.com/Azure/azure-pipeline-go v0.2.3
|
|
github.com/Azure/azure-storage-blob-go v0.15.0
|
|
github.com/Shopify/sarama v1.38.1
|
|
github.com/aws/aws-sdk-go v1.44.219
|
|
github.com/cenkalti/backoff/v4 v4.2.0
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bwmarrin/snowflake v0.3.0
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/coreos/go-semver v0.3.0 // indirect
|
|
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/disintegration/imaging v1.6.2
|
|
github.com/dustin/go-humanize v1.0.1
|
|
github.com/eapache/go-resiliency v1.3.0 // indirect
|
|
github.com/eapache/go-xerial-snappy v0.0.0-20230111030713-bf00bc1b83b6 // indirect
|
|
github.com/eapache/queue v1.1.0 // indirect
|
|
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a
|
|
github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c // indirect
|
|
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect
|
|
github.com/facebookgo/stats v0.0.0-20151006221625-1b76add642e4
|
|
github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 // indirect
|
|
github.com/fclairamb/ftpserverlib v0.21.0
|
|
github.com/fsnotify/fsnotify v1.6.0 // indirect
|
|
github.com/go-errors/errors v1.1.1 // indirect
|
|
github.com/go-redis/redis/v8 v8.11.5
|
|
github.com/go-redsync/redsync/v4 v4.8.1
|
|
github.com/go-sql-driver/mysql v1.7.0
|
|
github.com/go-zookeeper/zk v1.0.3 // indirect
|
|
github.com/gocql/gocql v0.0.0-20210707082121-9a3953d1826d
|
|
github.com/golang-jwt/jwt v3.2.2+incompatible
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.2
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/btree v1.1.2
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/google/uuid v1.3.0
|
|
github.com/google/wire v0.5.0 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.7.0 // indirect
|
|
github.com/gorilla/mux v1.8.0
|
|
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/hashicorp/go-uuid v1.0.3 // indirect
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/jcmturner/gofork v1.7.6 // indirect
|
|
github.com/jcmturner/gokrb5/v8 v8.4.3 // indirect
|
|
github.com/jinzhu/copier v0.3.5
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/json-iterator/go v1.1.12
|
|
github.com/karlseguin/ccache/v2 v2.0.8
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
github.com/klauspost/compress v1.15.14 // indirect
|
|
github.com/klauspost/reedsolomon v1.11.7
|
|
github.com/kurin/blazer v0.5.3
|
|
github.com/lib/pq v1.10.7
|
|
github.com/linxGnu/grocksdb v1.7.15
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/mattn/go-ieproxy v0.0.9 // indirect
|
|
github.com/mattn/go-isatty v0.0.17 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/olivere/elastic/v7 v7.0.32
|
|
github.com/peterh/liner v1.2.2
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/posener/complete v1.2.3
|
|
github.com/pquerna/cachecontrol v0.1.0
|
|
github.com/prometheus/client_golang v1.14.0
|
|
github.com/prometheus/client_model v0.3.0 // indirect
|
|
github.com/prometheus/common v0.39.0 // indirect
|
|
github.com/prometheus/procfs v0.9.0
|
|
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/seaweedfs/goexif v1.0.3
|
|
github.com/seaweedfs/raft v1.1.0
|
|
github.com/sirupsen/logrus v1.9.0 // indirect
|
|
github.com/spf13/afero v1.9.3 // indirect
|
|
github.com/spf13/cast v1.5.0 // indirect
|
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
|
github.com/spf13/viper v1.15.0
|
|
github.com/stretchr/testify v1.8.1
|
|
github.com/stvp/tempredis v0.0.0-20181119212430-b82af8480203
|
|
github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965
|
|
github.com/tidwall/gjson v1.14.4
|
|
github.com/tidwall/match v1.1.1
|
|
github.com/tidwall/pretty v1.2.0 // indirect
|
|
github.com/tsuna/gohbase v0.0.0-20201125011725-348991136365
|
|
github.com/tylertreat/BoomFilters v0.0.0-20210315201527-1a82519a3e43
|
|
github.com/valyala/bytebufferpool v1.0.0
|
|
github.com/viant/assertly v0.5.4 // indirect
|
|
github.com/viant/ptrie v0.3.0
|
|
github.com/viant/toolbox v0.33.2 // indirect
|
|
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
|
|
github.com/xdg-go/scram v1.1.2 // indirect
|
|
github.com/xdg-go/stringprep v1.0.4 // indirect
|
|
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
|
|
go.etcd.io/etcd/client/v3 v3.5.7
|
|
go.mongodb.org/mongo-driver v1.11.1
|
|
go.opencensus.io v0.24.0 // indirect
|
|
gocloud.dev v0.29.0
|
|
gocloud.dev/pubsub/natspubsub v0.28.0
|
|
gocloud.dev/pubsub/rabbitpubsub v0.29.0
|
|
golang.org/x/crypto v0.6.0 // indirect
|
|
golang.org/x/exp v0.0.0-20230124195608-d38c7dcee874
|
|
golang.org/x/image v0.6.0
|
|
golang.org/x/net v0.8.0
|
|
golang.org/x/oauth2 v0.6.0 // indirect
|
|
golang.org/x/sys v0.6.0
|
|
golang.org/x/text v0.8.0 // indirect
|
|
golang.org/x/tools v0.6.0
|
|
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
|
google.golang.org/api v0.112.0
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488 // indirect
|
|
google.golang.org/grpc v1.53.0
|
|
google.golang.org/protobuf v1.28.1
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
modernc.org/b v1.0.0 // indirect
|
|
modernc.org/cc/v3 v3.40.0 // indirect
|
|
modernc.org/ccgo/v3 v3.16.13 // indirect
|
|
modernc.org/libc v1.22.3 // indirect
|
|
modernc.org/mathutil v1.5.0 // indirect
|
|
modernc.org/memory v1.5.0 // indirect
|
|
modernc.org/opt v0.1.3 // indirect
|
|
modernc.org/sqlite v1.21.0
|
|
modernc.org/strutil v1.1.3
|
|
modernc.org/token v1.0.1 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/Jille/raft-grpc-transport v1.4.0
|
|
github.com/arangodb/go-driver v1.5.2
|
|
github.com/armon/go-metrics v0.4.1
|
|
github.com/fluent/fluent-logger-golang v1.9.0
|
|
github.com/google/flatbuffers/go v0.0.0-20230108230133-3b8644d32c50
|
|
github.com/hanwen/go-fuse/v2 v2.2.0
|
|
github.com/hashicorp/raft v1.3.11
|
|
github.com/hashicorp/raft-boltdb/v2 v2.2.2
|
|
github.com/rabbitmq/amqp091-go v1.7.0
|
|
github.com/schollz/progressbar/v3 v3.13.0
|
|
github.com/tikv/client-go/v2 v2.0.5
|
|
github.com/ydb-platform/ydb-go-sdk-auth-environ v0.1.2
|
|
github.com/ydb-platform/ydb-go-sdk/v3 v3.43.0
|
|
google.golang.org/grpc/security/advancedtls v0.0.0-20220622233350-5cdb09fa29c1
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go/compute v1.18.0 // indirect
|
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
|
cloud.google.com/go/iam v0.12.0 // indirect
|
|
github.com/arangodb/go-velocypack v0.0.0-20200318135517-5af53c29c67e // indirect
|
|
github.com/aws/aws-sdk-go-v2 v1.17.4 // indirect
|
|
github.com/aws/aws-sdk-go-v2/config v1.18.12 // indirect
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.13.12 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.22 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.28 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.22 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.29 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.22 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sns v1.20.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sqs v1.20.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.12.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.18.3 // indirect
|
|
github.com/aws/smithy-go v1.13.5 // indirect
|
|
github.com/benbjohnson/clock v1.3.0 // indirect
|
|
github.com/boltdb/bolt v1.3.1 // indirect
|
|
github.com/cenkalti/backoff/v4 v4.2.0
|
|
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 // indirect
|
|
github.com/d4l3k/messagediff v1.2.1 // indirect
|
|
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 // indirect
|
|
github.com/fatih/color v1.13.0 // indirect
|
|
github.com/fclairamb/go-log v0.4.1 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang-jwt/jwt/v4 v4.4.3 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
|
|
github.com/hashicorp/go-hclog v1.2.0 // indirect
|
|
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
|
github.com/hashicorp/go-msgpack v1.1.5 // indirect
|
|
github.com/hashicorp/golang-lru v0.6.0 // indirect
|
|
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
|
|
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
|
|
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
|
|
github.com/jonboulle/clockwork v0.2.2 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.3 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-runewidth v0.0.14 // indirect
|
|
github.com/mattn/go-sqlite3 v2.0.1+incompatible // indirect
|
|
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
|
|
github.com/montanaflynn/stats v0.6.6 // indirect
|
|
github.com/nats-io/nats.go v1.20.0 // indirect
|
|
github.com/nats-io/nkeys v0.3.0 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
|
|
github.com/philhofer/fwd v1.1.1 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.17 // indirect
|
|
github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c // indirect
|
|
github.com/pingcap/failpoint v0.0.0-20210918120811-547c13e3eb00 // indirect
|
|
github.com/pingcap/kvproto v0.0.0-20230201112839-2b853bed8125 // indirect
|
|
github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3 // indirect
|
|
github.com/rivo/uniseg v0.4.3 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/stathat/consistent v1.0.0 // indirect
|
|
github.com/subosito/gotenv v1.4.2 // indirect
|
|
github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a // indirect
|
|
github.com/tikv/pd v1.1.0-beta.0.20230202094356-18df271ce57f // indirect
|
|
github.com/tikv/pd/client v0.0.0-20230202094356-18df271ce57f // indirect
|
|
github.com/tinylib/msgp v1.1.6 // indirect
|
|
github.com/twmb/murmur3 v1.1.3 // indirect
|
|
github.com/yandex-cloud/go-genproto v0.0.0-20211115083454-9ca41db5ed9e // indirect
|
|
github.com/ydb-platform/ydb-go-genproto v0.0.0-20221215182650-986f9d10542f // indirect
|
|
github.com/ydb-platform/ydb-go-yc v0.8.3 // indirect
|
|
github.com/ydb-platform/ydb-go-yc-metadata v0.5.2 // indirect
|
|
go.etcd.io/bbolt v1.3.6 // indirect
|
|
go.etcd.io/etcd/api/v3 v3.5.7 // indirect
|
|
go.etcd.io/etcd/client/pkg/v3 v3.5.7 // indirect
|
|
go.uber.org/atomic v1.10.0 // indirect
|
|
go.uber.org/multierr v1.9.0 // indirect
|
|
go.uber.org/zap v1.24.0 // indirect
|
|
golang.org/x/mod v0.8.0 // indirect
|
|
golang.org/x/sync v0.1.0 // indirect
|
|
golang.org/x/term v0.6.0 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
lukechampine.com/uint128 v1.2.0 // indirect
|
|
)
|
|
|
|
// replace github.com/seaweedfs/raft => /Users/chrislu/go/src/github.com/seaweedfs/raft
|