Closed
Description
The queue_poison_pill table is missing a PK. Because of this, it cannot be replicated reliably in Galera based systems (eg. MariaDB, Percona XtradbCluster).
Preconditions (*)
Magento 2.4.3
Steps to reproduce (*)
- Open database table queue_poison_pill
- Check if the table has a Primary Key
Expected result (*)
The database table queue_poison_pill has Primary Key
Actual result (*)
The database table queue_poison_pill doesn't have Primary Key
SQLSTATE[42000]: Syntax error or access violation: 1173 This table type requires a primary key, query was:
CREATE TABLE `queue_poison_pill` ( `version` varchar(255) NOT NULL COMMENT "Poison Pill version.")
ENGINE=innodb DEFAULT CHARSET=utf8 DEFAULT COLLATE=utf8_general_ci COMMENT="Sequence table for poison pill versions"