Primary key not defined for precreate tables

Created on 25 March 2021, over 3 years ago
Updated 21 August 2023, over 1 year ago

Problem/Motivation

While attempting to deploy a site onto new infrastructure, we received the following message:

`[error] Drupal\\Core\\Database\\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 3098 The table does not comply with the requirements by an external plugin.: INSERT INTO {date_recur__entityType__fieldName}`

We believe that this is due to the absence of a primary key, which is required when using MySQL's group replication.

Steps to reproduce

Install in an environment where MySQL's group replication is configured.

Proposed resolution

Specify primary keys for the precreated date tables.

πŸ“Œ Task
Status

Needs review

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States akalata

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024