Details
-
Bug
-
Status: Stalled (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.5.4, 10.6
Description
USE test;
|
CREATE TABLE t(a INT);
|
XA START '0';
|
SET pseudo_slave_mode=1;
|
INSERT INTO t VALUES(7050+0.75);
|
XA PREPARE '0';
|
XA END '0';
|
XA PREPARE '0';
|
TRUNCATE TABLE t;
|
# Shutdown to observe hang (mysqladmin shutdown will hang)
|
Will cause 10.5.4 8569dac1ec9f6853a0b2f3ea9bcbda67644ead24 (dbg+opt) to hang. Earlier releases not affected.
Note the difference on the last command:
10.5.4 8569dac1ec9f6853a0b2f3ea9bcbda67644ead24 |
10.5.4>TRUNCATE TABLE t;
|
Query OK, 0 rows affected (0.013 sec)
|
10.4.14 ea7830eef48333e28f98a9b91f05a95735b465a3 |
10.4.14>TRUNCATE TABLE t;
|
ERROR 1399 (XAE07): XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state
|
Attachments
Issue Links
- blocks
-
MDEV-36022 InnoDB: Failing assertion: trx->roll_limit <= trx->undo_no in trx_rollback_start
-
- Confirmed
-
- is blocked by
-
MDEV-21602 CREATE TABLE…PRIMARY KEY…SELECT workaround causes DROP TABLE to ignore locks
-
- Closed
-
- is caused by
-
MDEV-742 LP:803649 - Xa recovery failed on client disconnection
-
- Closed
-
- relates to
-
MDEV-13564 TRUNCATE TABLE and undo tablespace truncation are not compatible with Mariabackup
-
- Closed
-
-
MDEV-22769 Long semaphore wait upon DROP DATABASE with XA holding locks
-
- Closed
-
-
MDEV-30941 ASAN: heap-use-after-free in std::__atomic_base from trx_t::commit_tables on XA COMMIT with pseudo_slave_mode enabled
-
- Confirmed
-
-
MDEV-35046 SIGSEGV in list_delete in optimized builds when using pseudo_slave_mode
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Summary | Hang on TRUNCATE after XA statements and pseudo_slave_mode=1 | Hang on TRUNCATE after XA statements and pseudo_slave_mode=1 (on optimized builds) |
Attachment | threads1 [ 52006 ] |
Link |
This issue relates to |
Assignee | Andrei Elkin [ elkin ] | Marko Mäkelä [ marko ] |
Link |
This issue relates to |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Assignee | Marko Mäkelä [ marko ] | Andrei Elkin [ elkin ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Assignee | Andrei Elkin [ elkin ] | Marko Mäkelä [ marko ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Link |
This issue relates to |
Assignee | Marko Mäkelä [ marko ] | Andrei Elkin [ elkin ] |
Priority | Blocker [ 1 ] | Major [ 3 ] |
Link |
This issue relates to |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Duplicate [ 3 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue duplicates |
Summary | Hang on TRUNCATE after XA statements and pseudo_slave_mode=1 (on optimized builds) | XA PREPARE breaks MDL in pseudo_slave_mode=1 |
Resolution | Duplicate [ 3 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Link |
This issue duplicates |
Link |
This issue is blocked by |
Assignee | Andrei Elkin [ elkin ] | Elena Stepanova [ elenst ] |
Labels | affects-tests not-10.1 not-10.2 not-10.3 not-10.4 regression | affects-tests not-10.1 not-10.2 not-10.3 not-10.4 not-10.6 regression regression-10.5 |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | N/A [ 14700 ] | |
Affects Version/s | 10.6 [ 24028 ] | |
Assignee | Elena Stepanova [ elenst ] | Andrei Elkin [ elkin ] |
Labels | affects-tests not-10.1 not-10.2 not-10.3 not-10.4 not-10.6 regression regression-10.5 | affects-tests not-10.1 not-10.2 not-10.3 not-10.4 regression regression-10.5 |
Priority | Major [ 3 ] | Critical [ 2 ] |
Workflow | MariaDB v3 [ 109238 ] | MariaDB v4 [ 143645 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Fix Version/s | 10.7 [ 24805 ] |
Link | This issue relates to MDEV-30941 [ MDEV-30941 ] |
Link |
This issue relates to |
Link | This issue blocks MDEV-36022 [ MDEV-36022 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |