Cursor not found error during Percona Backup

Percona Backup is failing with the following error. We noticed that is happening during backup of large collections.

MongoDB version is 3.6.

[percona@VBNMDB502LIV scripts]$ pbm status
Cluster:

rs0:

  • rs0/VBNMDB501LIV.uat.pontoslivelo.com.br:27017: pbm-agent v1.6.1 OK
  • rs0/VBNMDB502LIV.uat.pontoslivelo.com.br:27017: pbm-agent v1.6.1 OK
  • rs0/VBNMDB503LIV.uat.pontoslivelo.com.br:27017: pbm-agent v1.6.1 OK

PITR incremental backup:

Status [ON]

Currently running:

(none)

Backups:

FS /backup_mongo_UAT2/marketplace
Snapshots:
2022-03-21T21:03:55Z 0.00B [ERROR: mongodump: read data: make dump: archive writer: error writing data for collection OMS_AUDIT.MessageCollection to disk: error reading collection: (CursorNotFound) cursor id 251611301277 not found / Mux ending but selectCases still open 2.] [2022-03-21T21:08:18]
2022-03-20T00:04:04Z 0.00B [ERROR: mongodump: read data: make dump: archive writer: error writing data for collection OMS_AUDIT.MessageCollection to disk: error reading collection: (CursorNotFound) cursor id 249920647910 not found / Mux ending but selectCases still open 2.] [2022-03-20T00:08:16]
2022-03-20T00:03:08Z 0.00B [ERROR: mongodump: read data: make dump: archive writer: error writing data for collection PURCHASE_HISTORY.order to disk: error reading collection: (CursorNotFound) cursor id 501869031395 not found / Mux ending but selectCases still open 2.] [2022-03-20T00:03:16]
2022-03-19T23:40:47Z 0.00B [ERROR: mongodump: read data: make dump: archive writer: error writing data for collection PURCHASE_HISTORY.order to disk: error reading collection: (CursorNotFound) cursor id 499505297296 not found / Mux ending but selectCases still open 2.] [2022-03-19T23:43:16]
2022-03-19T23:00:05Z 0.00B [ERROR: mongodump: read data: make dump: archive writer: error writing data for collection OMS_AUDIT.MessageCollection to disk: error reading collection: (CursorNotFound) cursor id 253644756457 not found / Mux ending but selectCases still open 2.] [2022-03-19T23:02:33]
2022-03-16T22:54:25Z 19.96GB [complete: 2022-03-16T23:16:42]
PITR chunks [4.55GB]:
2022-03-16T23:16:43 - 2022-03-21T21:03:57

Thank you

1 Like

Hello, backing up MongoDB 3.6 is not supported. You will need 4.0 or higher version.

Regards

1 Like