Skip to content
  • Bharathy Satish's avatar
    76e0ad8a
    Bug #21980284 MYSQLPUMP CAUSES INCONSISTENT BACKUP · 76e0ad8a
    Bharathy Satish authored
    Problem: Due to parallelism the threads which start the dump process can view
    a different states of the database which can cause the dump to be inconsistent.
    
    Fix: To get a consistent backup we lock the server and flush all the tables.
    This is done with FLUSH TABLES WITH READ LOCK (FTWRL). This will ensure that
    any further connections will view the same state of all the databases which
    is ideal state to take backup.
    76e0ad8a
    Bug #21980284 MYSQLPUMP CAUSES INCONSISTENT BACKUP
    Bharathy Satish authored
    Problem: Due to parallelism the threads which start the dump process can view
    a different states of the database which can cause the dump to be inconsistent.
    
    Fix: To get a consistent backup we lock the server and flush all the tables.
    This is done with FLUSH TABLES WITH READ LOCK (FTWRL). This will ensure that
    any further connections will view the same state of all the databases which
    is ideal state to take backup.
Loading