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

createIndex on empty collection could throw NamespaceNotFound error

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.9
    • Sprint:
      Repl 2021-05-17

      Description

      SERVER-56527 made the tenant oplog applier ignore creatIndex oplog entry for empty collections. But this could throw NamespaceNotFound error, which is not handled properly. We should catch and ignore NamespaceNotFound error.

        Attachments

          Activity

            People

            Assignee:
            lingzhi.deng Lingzhi Deng
            Reporter:
            lingzhi.deng Lingzhi Deng
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: