Tim Burke 4c4bd778ea container-replicator: Add a timeout for get_shard_ranges
Previously this had no timeout, which meant that the replicator might
hang and fail to make progress indefinitely while trying to receive
shard ranges.

While we're at it, only call get_shard_ranges when the remote indicates
that it has shard ranges for us to sync -- this reduces the number of
requests necessary to bring unsharded replicas in sync.

Change-Id: I32f51f42d76db38271442a261600089404a00f91
Closes-Bug: #1835260
2019-07-03 22:29:47 -07:00
..
2010-07-12 17:03:45 -05:00
2019-02-20 21:30:46 -06:00
2019-02-20 21:30:46 -06:00
2019-02-20 21:30:46 -06:00