• 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.
replicator.py 20.3 KB