Commit 6fbf978e authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-25750: Assertion wait_lock->is_waiting() in lock_wait_rpl_report

lock_wait_rpl_report(): Tolerate the loss of a lock wait.
commit c68007d9 (MDEV-24738)
had introduced this rare failure.
parent 1bd681c8
......@@ -1650,8 +1650,10 @@ static void lock_wait_rpl_report(trx_t *trx)
lock_sys.wr_unlock();
return;
}
}
ut_ad(wait_lock->is_waiting());
}
else if (!wait_lock->is_waiting())
goto func_exit;
ut_ad(!(wait_lock->type_mode & LOCK_AUTO_INC));
if (wait_lock->is_table())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment