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

Tag awaitdata_getmore_new_last_committed_optime.js requires_snapshot_read

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.3
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2020-01-27
    • Linked BF Score:
      0

      Description

      The test runs a secondary read (getMore) that is blocked on a failpoint while waiting for replication. On ephemeralForTest, secondary reads hold the PBWM lock which would block secondary oplog application. The purpose of the test is to test exhaust cursor behaviors and I dont think it adds any value testing that under ephemeralForTest. So I think we can tag the test requires_snapshot_read. This is because we don't hold PBWM lock for secondary reads when the storage engine supports snapshot reads.

        Attachments

          Activity

            People

            Assignee:
            lingzhi.deng Lingzhi Deng
            Reporter:
            lingzhi.deng Lingzhi Deng
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: