aboutsummaryrefslogtreecommitdiff
path: root/weed/server/filer_server.go
diff options
context:
space:
mode:
authorStewart Miles <stewart@agentic.ai>2023-03-15 17:49:46 -0700
committerGitHub <noreply@github.com>2023-03-15 17:49:46 -0700
commit57ab1f851656276f62124c3dc5e3fc0d15eed646 (patch)
treee9dcc6fbf41c450a8e841a005105386a502876d2 /weed/server/filer_server.go
parentdd71f54c6b8355a35cda134173d9ebb76a53b62c (diff)
downloadseaweedfs-57ab1f851656276f62124c3dc5e3fc0d15eed646.tar.xz
seaweedfs-57ab1f851656276f62124c3dc5e3fc0d15eed646.zip
Use exponential backoff to query leader. (#4313)
`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
Diffstat (limited to 'weed/server/filer_server.go')
0 files changed, 0 insertions, 0 deletions