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

Tenant migration oplog buffer should be started by holding the RSTL lock

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-06-27
    • 151

      SERVER-65300 accidentally removed this piece of code. Though the reason they added initially is due to SERVER-54191 but that fassert mentioned in SERVER-54191 has been changed to uassert. But looking closer into the oplog buffer code, it seems it's illegal to start the replicated oplog buffer collection when the node is no longer primary, otherwise we would end up hitting other fassert and non-retryable error code like mentioned in BFs.

            Assignee:
            suganthi.mani@mongodb.com Suganthi Mani
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: