[SERVER-48460] Snapshot "distinct" support in the shell Created: 28/May/20  Updated: 06/Dec/22  Resolved: 07/Jul/21

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

Type: Task Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Backlog - Replication Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on DRIVERS-815 Snapshot reads on Secondaries Closed
Assigned Teams:
Replication
Participants:

 Description   

SERVER-47970 added support to retrieve atClusterTime from snapshot read cursor responses (find, getMore, aggregate).

We are also planning to support "distinct" for snapshot. However, "distinct" doesn't return a cursor but a list of results. So we need a different way to retrieve the atClusterTime from the "distinct" results (maybe there will be a DistinctResult object that has the values and atClusterTime). We will wait to see what the Drivers API for "distinct" is after DRIVERS-815 and bring the shell into compliance.

And we want to also bring cursor responses in the shell (find, getMore and aggregate) into compilance too after we have a driver spec.


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