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

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

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

      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@mongodb.com Lingzhi Deng
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: