Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3895

Rolled-back inserts are not recorded in rollback file

    • Repl 2021-07-26

      Currently only updated documents are recorded during a rollback. Insert operations are rolled back by deleting their documents, and are not recorded in a rollback file. Thus, they cannot be manually fixed when rollback data is merged to new primary. We could export a single bson file which lists the deleted documents (namespace + _id) in another file.

      _Deleted_<ts>.bson:
      {_id:ObjectId, ns:<ns>, deleted_id: <id>}
      

            Assignee:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: