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

Empty find cursor does not include atClusterTime

    • Query Execution

      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.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            kiro.morkos@mongodb.com Kiro Morkos
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: