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

Drop any existing indexes conflicting with the specs from the startIndexBuild oplog entry during initial sync

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-04-20
    • 13

    Description

      Recreating an index with the same spec continuously could lead us to a state where an initial syncing node has the index built with the index spec but also sees the startIndexBuild oplog entry with the same spec. In this case we should drop the existing index, as it was meant to be dropped and recreate it.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: