[DRIVERS-1486] VersionedAPI: Reimplement 'distinct' in 4.9+ Created: 23/Dec/20  Updated: 22/Sep/21  Resolved: 30/Mar/21

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Epic Priority: Major - P3
Reporter: Alexander Golin (Inactive) Assignee: Andreas Braun
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to CDRIVER-3925 VersionedAPI: Reimplement 'distinct' ... Closed
split to CSHARP-3464 VersionedAPI: Reimplement 'distinct' ... Closed
split to CXX-2204 VersionedAPI: Reimplement 'distinct' ... Closed
split to GODRIVER-1914 VersionedAPI: Reimplement 'distinct' ... Closed
split to JAVA-4039 VersionedAPI: Reimplement 'distinct' ... Closed
split to MOTOR-685 VersionedAPI: Reimplement 'distinct' ... Closed
split to NODE-3148 VersionedAPI: Reimplement 'distinct' ... Closed
split to PHPC-1784 VersionedAPI: Reimplement 'distinct' ... Closed
split to PYTHON-2606 VersionedAPI: Reimplement 'distinct' ... Closed
split to RUBY-2554 VersionedAPI: Reimplement 'distinct' ... Closed
split to RUST-702 VersionedAPI: Reimplement 'distinct' ... Closed
Related
related to SERVER-55112 Behaviour of distinct differs between... Closed
Driver Compliance:
Key Status/Resolution FixVersion
CDRIVER-3925 Won't Do
CXX-2204 Won't Do
CSHARP-3464 Won't Do
GODRIVER-1914 Won't Do
JAVA-4039 Won't Do
NODE-3148 Won't Do
MOTOR-685 Won't Do
PYTHON-2606 Won't Do
PHPC-1784 Won't Do
RUBY-2554 Won't Do
RUST-702 Won't Do
SWIFT-1147 Won't Do

 Description   

Filed in regard to this thread in the project channel.

From Andreas in the thread:

Indeed, there’s a bit of a race here. The version 1 API does not include the count or distinct commands, which is why I decided to test the CRUD API on a client with a strict API version to ensure that this API will always work regardless of server version a user is connected to. Since the pieces weren’t in place at the time, I knew that these tests would fail eventually, so skipping until we update the logic makes sense. DRIVERS-1437 will track this, and we should also have one to track re-implementing distinct in 4.9+ (didn’t find one, but I’m sure @Alexander Golin has a better overview).
I initially planned to have drivers skip the estimatedDocumentCount and distinct API tests based on their progress on replacing implementations to make sure this doesn’t fly under the radar, but we can skip them in the spec for the time being…we’ll just have to remember to un-skip them once the respective drivers tickets have been completed (hence me leaning to have each drivers skip them individually)



 Comments   
Comment by Alexander Golin (Inactive) [ 01/Mar/21 ]

Triage: Andreas is going to write up a small scope that we can confer with server about. Needed for the 5.0 timeline.

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