[SERVER-83472] Empty find cursor does not include atClusterTime Created: 20/Nov/23  Updated: 30/Jan/24

Status: Backlog
Project: Core Server
Component/s: Distributed Query Execution
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kiro Morkos Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: quick-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

I noticed that if I perform a find operation that returns no results with snapshot read concern, an atClusterTime value is not returned on the cursor. This makes it difficult to perform multiple queries in the same snapshot if the first query happens to be empty. The aggregate command has the expected behavior and does return an atClusterTime value even if there's no results. This seems like an oversight with the find command.


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