Use clusterTime from oplog in 'change_streams_read_oplog_after_downgrade.js'

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The current test code relies on the clusterTime returned by the insert command to be same as the time stamp written to the oplog. It looks like the clusterTime returned by the insert command is ahead of what is written in the oplog which is causing the test failure. Based on the oplog entires, it looks like there was a refresh on the collection.config.cache collection which incremented the clusterTime.

      To fix this, we should read the time stamp from the oplog, instead of relying on the output of the insert command.

            Assignee:
            Arun Banala
            Reporter:
            Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: