Skip to content

Conversation

Fibonacci747
Copy link

Add missing ON CONFLICT DO NOTHING to INSERT into vid_share2 in migrate_vid_shares. This aligns the function with other batch migrations (anchor_leaf, da_proposal, quorum_proposals, quorum_certificate), ensuring idempotency on batch boundaries and safe restarts. Without this, re-running a partially completed batch or resuming from an offset would attempt to re-insert rows with the same PRIMARY KEY(view), causing unique constraint violations and breaking the migration.

@CLAassistant
Copy link

CLAassistant commented Sep 4, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants