summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/alter_mdl_timeout.opt
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2021-01-11 15:23:09 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2021-01-19 16:18:37 +0530
commit479b4214fadcb0b8dedcaf780b180160d60b3986 (patch)
treed21abbfbdb27193de9adab737419621f0e82beeb /mysql-test/suite/innodb/t/alter_mdl_timeout.opt
parent94890a749a217bb831a5c260703d27b0a3e290d4 (diff)
downloadmariadb-git-479b4214fadcb0b8dedcaf780b180160d60b3986.tar.gz
MDEV-24547 Update fails when online alter does rollback due to MDL time out
When online alter rollbacks due to MDL time out, it doesn't mark the index online status as ONLINE_INDEX_ABORTED. Concurrent update fails to update the secondary index while building the entry. InnoDB should check the online status of the secondary index before building the secondary index entry. Reviewed-by: Marko Mäkelä
Diffstat (limited to 'mysql-test/suite/innodb/t/alter_mdl_timeout.opt')
-rw-r--r--mysql-test/suite/innodb/t/alter_mdl_timeout.opt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/alter_mdl_timeout.opt b/mysql-test/suite/innodb/t/alter_mdl_timeout.opt
new file mode 100644
index 00000000000..9e0e38bd64a
--- /dev/null
+++ b/mysql-test/suite/innodb/t/alter_mdl_timeout.opt
@@ -0,0 +1 @@
+--lock_wait_timeout=2