Skip to content

queue_poison_pill table missing PK #33822

Closed
@sych74

Description

@sych74

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 (*)

  1. Open database table queue_poison_pill
  2. 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"

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.3Indicates original Magento version for the Issue report.Severity: S1Affects critical data or functionality and forces users to employ a workaround.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions