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

Tag awaitdata_getmore_new_last_committed_optime.js requires_snapshot_read

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2020-01-27
    • 0

      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.

            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: