• Julien Muchembled's avatar
    New --new-nid storage option for fast cloning · 27e3f620
    Julien Muchembled authored
    It is often faster to set up replicas by stopping a node (and any
    underlying database server like MariaDB) and do a raw copy of the
    database (e.g. with rsync). So far, it required to stop the whole
    cluster and use tools like 'mysql' or sqlite3' to edit:
    - the 'pt' table in databases,
    - the 'config.nid' values of the new nodes.
    
    With this new option, if you already have 1 replica, you can set up
    new replicas with such fast raw copy, and without interruption of
    service. Obviously, this implies less redundancy during the operation.
    27e3f620
Name
Last commit
Last update
..
database Loading commit data...
handlers Loading commit data...
__init__.py Loading commit data...
app.py Loading commit data...
checker.py Loading commit data...
replicator.py Loading commit data...
shared_queue.py Loading commit data...
transactions.py Loading commit data...