Open katosdev opened 2 years ago
Is this just a cluster default setting for MySQL that can be changed? Or is this an outright requirement that must be met for clutered MySQL installs?
Is this just a cluster default setting for MySQL that can be changed? Or is this an outright requirement that must be met for clutered MySQL installs?
Seems to be a performance thing, which would probably apply moreso in a distributed mysql setup.
That being said, if there's a way to add primary keys to all tables in bundled extensions without horrible pain, I think that might be worth looking into.
@luceos and @imorland can likely weigh in better here with their wealth of knowledge drawn from Blomstra
For scaled environments a PK is required, percona and other clustered MySQL instances (like those managed in clouds) rely on those PK's those exist. I would say this should become a convention in our code.
That being said, if there's a way to add primary keys to all tables in bundled extensions without horrible pain, I think that might be worth looking into.
I fear the only solution would be to go over all tables and create migrations for them.
Bug Report
Current Behavior When using a clustered SQL environment, installation fails due to missing primary keys on the database tables.
This issue seems to be present on any percona and clustered database
CC : @luceos