[MDEV-27806] Galera crash when "create a table as select" Created: 2022-02-11 Updated: 2023-12-12 Resolved: 2023-12-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Create Table, Galera, Replication |
| Affects Version/s: | 10.5.12, 10.6.5, 10.4 |
| Fix Version/s: | 10.4.33, 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | yongjian.wu | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | crash, galera | ||
| Environment: |
Galera cluster |
||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Hi is there any config to avoid this ,or this is a limitation in the mariadb galera? please help check the below:
no problem ^^
|
| Comments |
| Comment by Ramesh Sivaraman [ 2023-11-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
janlindstrom Reproduced the issue on latest 10.5.24 build. CTAS with non-empty table is crashing Galera secondary nodes. The crash occurs when secondary nodes try to write CTAS to the binlog.
Leads to
CTAS binlog event from secondary node
CTAS binlog event from primary node
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ramesh Sivaraman [ 2023-11-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
janlindstrom Could not reproduce the issue on latest 10.4 build, but after executing CTAS on primary node gtid increased twice on secondary node
Secondary node
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniele Sciascia [ 2023-11-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A pull request to fix this issue has been created and is ready for review. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Julius Goryavsky [ 2023-12-12 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fix merged with head revision: https://github.com/MariaDB/server/commit/61daac54d62491fac9b699bccd639494da38a72f |