Uploaded image for project: 'Percona Backup for MongoDB'
  1. Percona Backup for MongoDB
  2. PBM-703

PITR restore fails due to error "Failed to apply operation due to missing collection config.transactions"

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • None
    • None

    Description

      Hi,

      PBM 1.6.0
      PSMDB 5.0.1

      PITR restore fails due to error "Failed to apply operation due to missing collection system.transactions", we might consider excluding this collection from restore list.

      2021-08-03T15:08:31.000+0000 I [pitrestore/2021-08-03T12:24:36Z] recovery started
      2021-08-03T15:08:32.000+0000 I [pitrestore/2021-08-03T12:24:36Z] snapshot 2021-08-03T12:16:38Z
      2021-08-03T15:08:37.000+0000 I [pitrestore/2021-08-03T12:24:36Z] mongorestore finished
      2021-08-03T15:08:39.000+0000 I [pitrestore/2021-08-03T12:24:36Z] restoring users and roles
      2021-08-03T15:08:39.000+0000 I [pitrestore/2021-08-03T12:24:36Z] starting oplog replay
      2021-08-03T15:08:39.000+0000 I [pitrestore/2021-08-03T12:24:36Z] oplog replay finished on {1627993020 4}
      2021-08-03T15:08:39.000+0000 I [pitrestore/2021-08-03T12:24:36Z] replay chunks
      2021-08-03T15:08:39.000+0000 E [pitrestore/2021-08-03T12:24:36Z] restore: replay chunk 1627993020.1627993401: apply oplog for chunk: applying an entry: applyOps: (NamespaceNotFound) Failed to apply operation due to missing collection (08b3e73c-35c8-43e1-8120-a721e7966a40): { ts: Timestamp(1627993155, 12), t: 1, h: null, v: 2, op: "d", ns: "config.transactions", o: { _id: { id: UUID("7501c8c7-85a4-4742-a193-f83dcd2d204f"), uid: BinData(0, BDA877257592DAECE236775CEA05F1B1A98B373AB2E26EF69813B67E10702586) } }, ui: UUID("08b3e73c-35c8-43e1-8120-a721e7966a40"), wall: new Date(0) }
      

      Attachments

        Activity

          People

            andrew.pogrebnoi Andrew Pogrebnoi
            sandra.romanchenko Sandra Romanchenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist