Replicated oplog buffer can fail while inserting documents on failover

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Repl 2020-12-14, Repl 2020-12-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Before Tenant Migration project(PM-1791), the oplog buffer used to be only unreplicated collection. But now, the oplog buffer can also be a replicated collection. A node step down/shutdown can make the buffer inserts to fail. But the oplog buffer assumes those inserts will always succeed. So, this fassert has to be replaced with uassert().

              Assignee:
              Jason Chan
              Reporter:
              Suganthi Mani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: