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

Ignore NamespaceNotFound exceptions when applying transactions during initial sync and recovery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.14
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-06-03
    • 0

    Description

      The collection may have been dropped since we are applying operations out of order.

      We ignore NamespaceNotFound errors in normal oplog application here.

      But we don't do it here. The applyOps command doesn't seem to ignore these errors either, so wherever we use that code path to apply transaction operations we likely need to do the same.

      This was found from code inspection and I haven't created a repro, so it's possible something prevents this from causing a problem.

      It'll be interesting to see if the initial sync fuzzer catches this once it supports transactions, max.hirschhorn.

      Attachments

        Issue Links

          Activity

            People

              matthew.russotto@mongodb.com Matthew Russotto
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: