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

XMLWordPrintableJSON

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

      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
            Reporter:
            Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: