Skip to content

Reset primary keys after swapping events tables

yorickpeterse-staging requested to merge reset-events-primary-key-mysql into master

What does this MR do?

This MR ensures primary key values of events are properly reset after swapping the tables. Without doing so event IDs will start with 1, possibly producing duplicate key violations. I forgot to add this to the events migration cleanup but it's absolutely crucial we include this in the very first 10.0 deploy as otherwise GitLab.com will run into issues.

cc @rspeicher @jarka

Does this MR meet the acceptance criteria?

Edited by username-removed-128633

Merge request reports

Loading