[MDEV-30550] Assertion `state() == s_executing || state() == s_prepared || state() == s_committed || state() == s_aborted || state() == s_must_replay' failed Created: 2023-02-02 Updated: 2024-01-03 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Ramesh Sivaraman | Assignee: | Daniele Sciascia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
Leads to:
|
| Comments |
| Comment by Ramesh Sivaraman [ 2023-02-03 ] | ||||||||||||||||||||||
| Comment by Daniele Sciascia [ 2023-03-09 ] | ||||||||||||||||||||||
|
I believe that the root cause of this issue is related to MDEV-24981.
We find that after LOAD INDEX statement, in_transaction is 0. Meaning that the transaction started by XA START was rolled back. However, the last CREATE shows that the the XA transaction is still in ACTIVE state. It doesn't make sense, and likely the transaction was not rolled back correctly. And we know that there already are issue related to LOAD INDEX and rollback of XAs (MDEV-24981). I would wait for MDEV-24981 to be fixed before having a look at this. | ||||||||||||||||||||||
| Comment by Daniele Sciascia [ 2023-03-09 ] | ||||||||||||||||||||||
|
ramesh I wonder if you should avoid the combination of Galera + XA + LOAD INDEX in your testing. We already know that XA + LOAD INDEX is not working properly, even without Galera (MDEV-24981). | ||||||||||||||||||||||
| Comment by Ramesh Sivaraman [ 2023-03-09 ] | ||||||||||||||||||||||
|
sciascid Sure will remove the combination of Galera + XA + LOAD INDEX from QA runs. |