Please sign in to comment.
BUG#20437706 HANDLE_FATAL_SIGNAL (SIG=11) IN BITMAP_GET_FIRST_SET
Problem : --------- Issue-1: Rename partition [mysql_rename_partitions] fails as there are open references to dict_table_t. The issue here is in alter_close_tables() we are not closing other instances of the same table opened by the thread. 5.5 => Closes instances for old table [No issue] 5.6 => Fails to close table. [Needs to be fixed] 5.7 => Handled along with WL#4807 [No issue] Issue-2: Failure handling causes crash In handle_alter_part_error()->close_thread_table() we are doing lock removal for current table but resetting the first table in thrd->tables. For a case when there are multiple open instances for the same table in current thread(lock table ...) it causes the issue. In debug mode it immediately hits assert and in release mode it crashes later as the current table is not closed. Solution : ---------- Issue - 1: Close other tables in close_thread_table() - 5.6 only Issue - 2: Debug assert that current table is first one in table list handle_alter_part_end- 5.7 handle_alter_part_error- 5.6 Reviewed-by: Mattias Jonsson <firstname.lastname@example.org> RB: 9296
- Loading branch information...