[SERVER-70847] [CQF] Investigate query timeouts related to snapshot reads on non-conflicting documents Created: 25/Oct/22  Updated: 29/Jun/23

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Hana Pearlman Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-77476 [CQF] Remove cqf_incompatible from js... Closed
Assigned Teams:
Query Optimization
Participants:

 Description   

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.


Generated at Thu Feb 08 06:17:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.