• Magne Mahre's avatar
    Bug#47017 rpl_timezone fails on PB-2 with mismatch error · 4338e06f
    Magne Mahre authored
    The bug is caused by a race condition between the 
    INSERT DELAYED thread and the client thread's FLUSH TABLE.  The 
    FLUSH TABLE does not guarantee (as is (wrongly) suggested in the 
    test case) that the INSERT DELAYED is ever executed.  The 
    execution of the test case will thus not be deterministic.
    
    The fix has been to do a deterministic verification that both
    threads are complete by checking the content of the table.
    4338e06f
rpl_timezone.test 5.75 KB