Skip to content

Bug: Find the discrepancy between what's logged in rdm_records_state.json and rdm_records_dump.json #567

Description

@sakshamarora1

For example, staff association had 3394 records migrated
and toggling view all versions gave 3491 records while the json files have different numbers.
needs to be investigated

sh-5.1$ wc -l /migration/logs/staff_association/rdm_records_state.json
3337 /migration/logs/staff_association/rdm_records_state.json
sh-5.1$ wc -l /migration/logs/staff_association/rdm_records_dump.json
3338 /migration/logs/staff_association/rdm_records_dump.json
sh-5.1$ wc -l /migration/logs/hr/rdm_records_dump.json
861 /migration/logs/hr/rdm_records_dump.json
sh-5.1$ wc -l /migration/logs/hr/rdm_records_state.json
861 /migration/logs/hr/rdm_records_state.json
sh-5.1$ wc -l /migration/logs/thesis/rdm_records_state.json
11516 /migration/logs/thesis/rdm_records_state.json
sh-5.1$ wc -l /migration/logs/thesis/rdm_records_dump.json
11520 /migration/logs/thesis/rdm_records_dump.json

Activity

  1. sakshamarora1 commented on Jul 31, 2026

    @sakshamarora1
    ContributorAuthor

    Probably related to #565

  2. sakshamarora1 commented on Jul 31, 2026

    @sakshamarora1
    ContributorAuthor

    List of legacy recids and their corresponding versions where the files were fixed

    legacy_recids_fixed.txt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions