Hi, Thirunarayanan! Sure, it's purely InnoDB functionality. If you say that purge thread already hold MDL for the table, then open_purge_table() doesn't need to. Ok to push as you see fit. On Jun 03, Thirunarayanan Balathandayuthapani wrote:
revision-id: 1e9ea675a18 (mariadb-10.5.2-304-g1e9ea675a18) parent(s): f22093ad392 author: Thirunarayanan Balathandayuthapani <thiru@mariadb.com> committer: Thirunarayanan Balathandayuthapani <thiru@mariadb.com> timestamp: 2020-06-01 18:02:17 +0530 message:
MDEV-21282 Assertion 'mariadb_table' failed in gcol.innodb_virtual_debug_purge
- commit ea37b144094a0c2ebfc6774047fd473c1b2a8658 (MDEV-16678) caused a regression. when purge thread tries to open the table for virtual column computation, there is no need to acquire MDL for the table. Because purge thread already hold MDL for the table
Regards, Sergei VP of MariaDB Server Engineering and security@mariadb.org