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

repair_unfinished_indexes.js should startup standalone nodes with 'recoverFromOplogAsStandalone=true'

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-03-23
    • 21

      When this test shuts down the secondary node, it makes no guarantees that the secondary has fully-applied and advanced the stable timestamp of the "startIndexBuild" operation.

      We should use the "recoverFromOplogAsStandalone=true" setParameter in the subsequent startup of the standalone node. This will guarantee the startIndexBuild oplog entry has been applied before making assertions about the presence of the index.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: