• Marko Mäkelä's avatar
    MDEV-20138 innodb.trx_id_future fails on 10.3+ · eedd6179
    Marko Mäkelä authored
    Starting with MDEV-12288 in MariaDB Server 10.3,
    the transaction identifiers on records will be reset on purge.
    Because purge might or might not run to completion before shutdown,
    it could happen that the bogus transaction identifier that our
    test is writing will be reset by purge after restart, and the
    expected warning message on SELECT will fail to appear.
    
    We resolve the race condition by ensuring that purge runs to
    completion before the shutdown.
    eedd6179
trx_id_future.test 1.96 KB