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

rollbackViaRefetch should not update documents in capped collections

    XMLWordPrintable

Details

    • ALL

    Description

      In rollbackViaRefetch, when we roll back changes to a document and the document exists on the source, we perform an update on the document. This is problematic for capped collections, since updates in capped collections must not change the size of the document. For capped collections, we should instead truncate the collection (like we do for deletes) and then insert the source's version of the document.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              tess.avitabile@mongodb.com Tess Avitabile (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: