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

'commitIndexBuild' oplog entry is a no-op for unfinished index builds not restarted

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc8, 5.0.10, 4.4.16, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.0, v5.0, v4.4
    • Execution Team 2022-05-02
    • 50

      Unfinished index builds are not restarted in standalone mode. When the server is started with --recoverFromOplogAsStandalone, a commitIndexBuild oplog entry during oplog recovery is a no-op for these unfinished indexes. This has the potential to hang oplog recovery when replaying oplog entries after the commitIndexBuild oplog entry, like renameCollection with dropTarget=true which checks that there are no index builds in progress.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: