• Monty's avatar
    Fixed bug in semi_sync replication tests. · 8fcc0bfe
    Monty authored
    The problem was that wait_for_slave_io_to_start reported that the io thread
    was ready, when it was still initializing. This caused test suite to
    continue too early, for example before the semi sync plugin was properly
    enabled.
    
    Fixed by introducing a new internal stage: "Preparing". Slave_IO_Running is
    now set to "Yes" only when all initializing is done and the IO thread is
    ready to read things from the master.
    
    The only test affected by this change is rpl_flsh_tbls, which got stuck in
    the preparing phase while trying to read the GTID position from a table.
    Fixed by having this test waiting for Preparing instead of Yes.
    8fcc0bfe
rpl_stm_flsh_tbls.result 947 Bytes