[DRIVERS-2523] Support Optional Inserted Ids in CSFLE Unified Tests Created: 11/Jan/23  Updated: 18/Jan/23

Status: Implementing
Project: Drivers
Component/s: Unified Test Runner
Fix Version/s: None

Type: Task Priority: Trivial - P5
Reporter: Durran Jordan Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: csfle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to RUBY-3208 Support Optional Inserted Ids in CSFL... Backlog
split to RUST-1573 Support Optional Inserted Ids in CSFL... Backlog
split to CDRIVER-4559 Support Optional Inserted Ids in CSFL... Closed
split to CSHARP-4485 Support Optional Inserted Ids in CSFL... Closed
split to CXX-2640 Support Optional Inserted Ids in CSFL... Closed
split to GODRIVER-2739 Support Optional Inserted Ids in CSFL... Closed
split to JAVA-4848 Support Optional Inserted Ids in CSFL... Closed
split to MOTOR-1086 Support Optional Inserted Ids in CSFL... Closed
split to NODE-4973 Support Optional Inserted Ids in CSFL... Closed
split to PHPLIB-1068 Support optional insertedIds in CSFLE... Closed
split to PYTHON-3573 Support Optional Inserted Ids in CSFL... Closed
Driver Changes: Needed
Downstream Changes Summary:

Drivers may decide to update the CSFLE unified tests for rewrap many data key if they implement the optional insertedIds field in the bulk write response but needed to work around the fact that the field wasn't defined in the results in the unified tests.

Driver Compliance:
Key Status/Resolution FixVersion
CDRIVER-4559 Fixed 1.24.0
CXX-2640 Done 3.8.0
CSHARP-4485 Fixed 2.20.0
GODRIVER-2739 Done
JAVA-4848 Fixed 4.9.0
NODE-4973 Fixed 5.0.0
MOTOR-1086 Duplicate
PYTHON-3573 Won't Do
PHPLIB-1068 Fixed 1.16.0
RUBY-3208 Backlog
RUST-1573 Backlog
SWIFT-1694 Won't Do

 Description   

Summary

The rewrap many data key CSFLE unified spec tests omit the optional insertIds property on the BulkWriteResult. This causes failures for drivers that have the optional field and assert exact equality of the result object in the unified tests.

Motivation

Who is the affected end user?

Drivers that include the insertedIds optional field in the BulkWriteResult.

How does this affect the end user?

More of an annoyance, it can be worked around.

How likely is it that this problem or use case will occur?

Currently affects Node, maybe other drivers are also working around this.

If the problem does occur, what are the consequences and how severe are they?

Minor annoyance from possible test failure.

Is this issue urgent?

Not urgent

Is this ticket required by a downstream team?

No

Is this ticket only for tests?

Only tests.



 Comments   
Comment by Githook User [ 17/Jan/23 ]

Author:

{'name': 'Durran Jordan', 'email': 'durran@gmail.com', 'username': 'durran'}

Message: test(DRIVERS-2523): allow optional bulk write result inserted ids (#1363)
Branch: master
https://github.com/mongodb/specifications/commit/1d5630db9e621df56856a5da565951e826ebe4db

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