Page MenuHomeSoftware Heritage

Mirror: fix common issues of a replayer session
Closed, MigratedEdits Locked

Description

When running a replay session of the staging area storage, there a few common issues that occur, these should be fixed before starting a real-life mirror session.

Related Objects

StatusAssignedTask
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration

Event Timeline

douardda triaged this task as High priority.Apr 2 2021, 9:41 AM
douardda created this task.

Currently, the mirror test session is running with:

ii  python3-swh.core        0.12.0-1~swh1~bpo10+1 all          Software Heritage core utilities
ii  python3-swh.journal     0.7.1-1~swh1~bpo10+1  all          Software Heritage Journal utilities
ii  python3-swh.model       2.3.0-1~swh1~bpo10+1  all          Software Heritage data model
ii  python3-swh.objstorage  0.2.2-1~swh1~bpo10+1  all          Software Heritage Object Storage
ii  python3-swh.scheduler   0.10.0-1~swh1~bpo10+1 all          Software Heritage Scheduler
ii  python3-swh.storage     0.27.0-1~swh1~bpo10+1 all          Software Heritage storage utilities

Using unprivileged access to the journal.

The number of error after ~20h is:

$ docker service logs swh_storage  2>&1 | grep " ERROR:"  | sort | uniq -c
     20 swh_storage.1.yjtfpr7ambpm@libra    | ERROR:root:duplicate key value violates unique constraint "person_fullname_idx"
      1 swh_storage.1.yjtfpr7ambpm@libra    | ERROR:root:server closed the connection unexpectedly
   1679 swh_storage.1.yjtfpr7ambpm@libra    | ERROR:root:unsupported Unicode escape sequence
   1087 swh_storage.1.yjtfpr7ambpm@libra    | ERROR:root:year 292278994 is out of range
gitlab-migration changed the status of subtask T3218: The graph replayer generates REQTMOUT Timeout errors from Resolved to Migrated.
gitlab-migration changed the status of subtask T3303: Replaying REMD topics is broken from Resolved to Migrated.