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

[CQF] Investigate query timeouts related to snapshot reads on non-conflicting documents

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization

      With the CQF FF enabled, some queries in jstests/core/txns/prepare_conflict.js and jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js time out. I've seen this issue on causally_consistent_jscore_txns_passthrough variant and jsCore_txns variant respectively. The tests both mention something along the lines of "Snapshot reads should succeed on non-conflicting documents while a transaction is in prepare", but the reads are hanging.

      Examples: Here and Here

      Note in one case the query times out, while in the other the test times out. I think this is because only one of the tests added maxTimeMs to queries.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: