seaweedfs/weed
Stewart Miles 57ab1f8516
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
2023-03-15 17:49:46 -07:00
..
cluster remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00
command Fix -raftHashicorp and -raftBootstrap flag propagation. (#4309) 2023-03-15 13:03:20 -07:00
filer clean comments 2023-02-17 01:31:44 -08:00
ftpd move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
glog rotate log files 2022-12-11 21:05:58 -08:00
iamapi grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
images fix chunk.ModifiedTsNs (#4264) 2023-03-02 08:24:36 -08:00
mount Skip parent directory creation in mount (#4310) 2023-03-15 12:37:25 -07:00
mq grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
notification go fmt 2022-09-14 23:06:44 -07:00
operation grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
pb adding support for B2 region (#4177) 2023-02-05 21:24:21 -08:00
query move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
remote_storage adding support for B2 region (#4177) 2023-02-05 21:24:21 -08:00
replication grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
s3api fix chunk.ModifiedTsNs (#4264) 2023-03-02 08:24:36 -08:00
security Updated the deprecated ioutil dependency (#4239) 2023-02-21 19:47:33 -08:00
sequence move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
server #4270 set http status code to 409 if dir already exists (#4287) 2023-03-08 07:45:08 -08:00
shell fix naming 2023-03-14 08:38:02 -07:00
static Change filer UI icon from picture to icon font. 2022-04-08 15:07:56 +08:00
stats Fix binding metrics to ipv6 (#4286) 2023-03-08 01:04:02 -08:00
storage fix test 2023-03-14 22:05:16 -07:00
topology Use exponential backoff to query leader. (#4313) 2023-03-15 17:49:46 -07:00
util 3.43 2023-02-20 16:56:05 -08:00
wdclient remove volume server tcp client 2022-10-23 13:15:03 -07:00
Makefile Update Makefile - use binary in current directory (#4027) 2022-12-01 14:09:14 -08:00
weed.go rotate log files 2022-12-11 21:05:58 -08:00