Skip to content

Retry cleanup PK conversion for events table

Leonardo da Rosa requested to merge 414777/events/cleanup-followup into master

What does this MR do and why?

Retry cleanup PK conversion for events table

At the first attempt, migration was blocked by an autovacuum process, which prevented the table to acquiring an exclusive lock, resulting in a timeout.

Simon Tomlinson: There was a wraparound-prevention autovacuum of events during this incident, which caused the lock queueing that led to this migration failing. If we avoid a time window with a wraparound-prevention vacuum, we should be able to simply run the same code in a new migration. Link

db:check-migrations jobs are expected to fail

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #414777 (closed).

Edited by Leonardo da Rosa

Merge request reports

Loading