Skip to content

Tombstone pipeline - investigate issues with colin_event_ids table duplicate key entries for some corps #26144

Closed

Description

@argush3

During a prelim prod dry run for the tombstone data migration, there were quite a few colin_event_id related errors.

A corp_processing table export of the failed entries have been included.

Tasks

  • Investigate corps that failed to migrate due to colin_event_id duplicate key entry issue
  • Update pipeline as req'd to fix issue

corp_processing_prd_dry_run_2_2025_02_23_fail.csv.zip

Activity

  1. added
    Entities - Data Migration
    on Feb 24, 2025
  2. changed the title [-]Tombstone pipeline - issues with colin_event_ids table duplicate key entries for some corps(placeholder)[/-] [+]Tombstone pipeline - investigate issues with colin_event_ids table duplicate key entries for some corps[/+] on Feb 25, 2025
  3. vishnup0422 commented on Mar 3, 2025

    @vishnup0422
    Collaborator

    Tried loading the businesses again with the new code.
    1 business is failing with Duplicate issue

    BC0319276
    Error msg: Migration failed - IntegrityError('(psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "colin_event_ids_pkey"\nDETAIL: Key (colin_event_id)=(9278061) already exists.\n')

  4. vishnup0422 commented on Mar 6, 2025

    @vishnup0422
    Collaborator

    Ran the migration in Test and not seeing any duplicate issues in DB.
    Was able to migrate the businesses and verify in BCROS UI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities - Data Migration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions