Use the correct uuid to construct oplog entry in oplog_writes_only_permitted_on_standalone.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Repl 2021-05-17
    • 133
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This test construct the update entry using the latest oplog entry as a template. But the latest oplog entry may not belong to "test.coll" and so that uuid could be wrong. In that case, replication recovery would turn the update into a noop and slightly ignore the update on missing document (in the wrong collection).

            Assignee:
            Lingzhi Deng
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: