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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.2
    • Component/s: Replication
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              Assignee:
              benety.goh Benety Goh
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: