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

Fix invariant when applying index build entries while recoverFromOplogAsStandalone=true

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.14, 5.0.8, 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Execution Team 2022-01-24, Execution Team 2022-02-07, Execution Team 2022-02-21

      This invariant expects canAcceptWritesFor to return false during startup recovery. However, if we are recovering from the oplog as a standalone (like during the backup restore procedure), this will fail.

      We should account for this case in the invariant.

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: