• Tim Burke's avatar
    container-replicator: Add a timeout for get_shard_ranges · 4c4bd778
    Tim Burke authored
    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
    4c4bd778
Name
Last commit
Last update
api-ref/source Loading commit data...
bin Loading commit data...
doc Loading commit data...
docker Loading commit data...
etc Loading commit data...
examples Loading commit data...
releasenotes Loading commit data...
swift Loading commit data...
test Loading commit data...
tools Loading commit data...
.alltests Loading commit data...
.coveragerc Loading commit data...
.dockerignore Loading commit data...
.functests Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
.mailmap Loading commit data...
.manpages Loading commit data...
.probetests Loading commit data...
.testr.conf Loading commit data...
.unittests Loading commit data...
.zuul.yaml Loading commit data...
AUTHORS Loading commit data...
CHANGELOG Loading commit data...
CONTRIBUTING.rst Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
REVIEW_GUIDELINES.rst Loading commit data...
babel.cfg Loading commit data...
bandit.yaml Loading commit data...
bindep.txt Loading commit data...
lower-constraints.txt Loading commit data...
requirements.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
test-requirements.txt Loading commit data...
tox.ini Loading commit data...