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

syncApply() treatment of delete operations on non-existent namespaces

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.2
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-02-12

    Description

      syncApply currently throws NamespaceNotFound exceptions on delete operations that refer to non-existent namespaces, specifically in cases when the UUID resolves to a missing collection, or when the database referred in the "ns" field does not exist. This condition does not occur during normal server operation in 3.6. However, modifications to the applyOps command proposed in SERVER-32913 may introduce such delete operations, requested by the client, into the oplog application process on the secondary. Therefore, we should consider treating deletes on the secondary as no-ops.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: