Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15080

Investigate changes in SERVER-63201: Relax restriction of deletion ops in applyOps command.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 5.3.0, 5.0.7
    • manual, Server
    • None

    Description

      Downstream Change Summary

      null

      Description of Linked Ticket

      Problem Statement/Rationale

      MongoDB doesn't allow deletion on capped collection. When Mongorestore performs restore with oplog replay, it should ignore the delete operation on the capped collection.  Otherwise, mongorestore will fail with the following error message:

      Failed: restore error: error applying oplog: applyOps: (IllegalOperation) cannot remove from a capped collection: test.cappedColl

       ===========================================
      After discussion
      we think the server should relax the restriction on applyOps for deletion since what mongorestore does with applyOps is very much like the initial sync during replication.

       

      Attachments

        Issue Links

          Activity

            People

              jeffrey.allen@mongodb.com Jeffrey Allen
              backlog-server-pm Backlog - Core Eng Program Management Team
              Githook User Githook User
              Joseph Dougherty Joseph Dougherty
              Gregory Wlodarek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                37 weeks, 1 day ago