• Rucha Deodhar's avatar
    MDEV-20939: Race condition between mysqldump import and InnoDB persistent · cbc75e99
    Rucha Deodhar authored
    statistics calculation
    
     Analysis: When --replace or --insert-ignore is not given, dumping of
    mysql.innodb_index_stats and mysql.innodb_table_stats will result into race
    condition.
    Fix: Check if these options are present with --system=stats (because dumping
    under --system=stats is safe). Otherwise, dump only structure, ignoring data
    because innodb will recalculate data anyway.
    cbc75e99
mysqldump.result 249 KB