[MDEV-22878] galera.wsrep_strict_ddl hangs in 10.5 after merge Created: 2020-06-12 Updated: 2020-06-16 Resolved: 2020-06-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Optimizer, Tests |
| Affects Version/s: | None |
| Fix Version/s: | 10.5.4 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
after
was merged into 10.5, galera.wsrep_strict_ddl started to fail, it times out because the test hangs on the line
The first server gets stuck in this loop:
and tbl == tbl->next_local, so it loops there forever. Nothing fails in 10.4, so presumably the fix was incorrectly merged into 10.5 |
| Comments |
| Comment by Marko Mäkelä [ 2020-06-12 ] | |||||||||
|
The parameter wsrep_strict_ddl was introduced in | |||||||||
| Comment by Elena Stepanova [ 2020-06-12 ] | |||||||||
|
Essential part of the test case:
Also reproducible with Aria. The test case needs to be put into suite/galera/t/ folder and run as
Galera library can be found here: http://yum.mariadb.org/galera4/repo4/ | |||||||||
| Comment by Julius Goryavsky [ 2020-06-12 ] | |||||||||
|
I suspect that IF this is an operator execution problem (but not Galera problem), then the fact is that the bool st_select_lex_unit::cleanup() function calls "free_tmp_table(thd, table)":
and this destroys tmp->next_local which is used in the loop. | |||||||||
| Comment by Seppo Jaakola [ 2020-06-12 ] | |||||||||
|
stack trace of hanging CREATE VIEW execution: (gdb) bt ... and there table_list has cycle: (gdb) p tbl |