• Julien Muchembled's avatar
    storage: start replicating the partition which is furthest behind · 4d3f3723
    Julien Muchembled authored
    This fixes the following case when the backup is far behing the upstream DB,
    and there are transactions being committed at the same time:
    
    1. replicate partition 0
    2. replicate partition 0
    3. replicate partition 1
    4. replicate partition 0
    5. replicate partition 1
    6. replicate partition 2
    7. replicate partition 0
    ...
    and so on in a quadratic way.
    
    When the upstream activity was too high, the backup could even be stuck looping
    on the first partitions.
    4d3f3723
Name
Last commit
Last update
neo Loading commit data...
tools Loading commit data...
.coveragerc Loading commit data...
.gitignore Loading commit data...
BUGS.rst Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
TODO Loading commit data...
UPGRADE.rst Loading commit data...
ZODB3.patch Loading commit data...
importer.conf Loading commit data...
neo.conf Loading commit data...
neoadmin Loading commit data...
neoctl Loading commit data...
neolog Loading commit data...
neomaster Loading commit data...
neomigrate Loading commit data...
neostorage Loading commit data...
setup.py Loading commit data...