[CDRIVER-2992] Bulk write arrayFilters option should append as array type Created: 05/Mar/19  Updated: 28/Oct/23  Resolved: 20/Mar/19

Status: Closed
Project: C Driver
Component/s: Bulk API
Affects Version/s: 1.11.0
Fix Version/s: 1.15.0

Type: Bug Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Jeremy Mikola
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before CDRIVER-2899 Add a database aggregate helper Closed
has to be done before CDRIVER-2976 Add support for majority read concern... Closed
Related
is related to CDRIVER-2664 Raise client error if arrayFilters op... Closed

 Description   

c4af4aa for CDRIVER-2664 introduced a regression where the "arrayFilters" option is appended as a BSON document type (0x03) instead of an array (0x04). This was caught by a new version of the bulkWrite-arrayFilters.yml test, which includes APM expectations.



 Comments   
Comment by Jeremy Mikola [ 20/Mar/19 ]

Additional commit, which had a typo: https://github.com/mongodb/mongo-c-driver/commit/3a2749e6aa74f35990c7d575995d6cb179270d48


Author:

{'name': 'Jeremy Mikola', 'username': 'jmikola', 'email': 'jmikola@gmail.com'}

Message: CDRIVER-2922 append arrayFilters as array type
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/3a2749e6aa74f35990c7d575995d6cb179270d48

Comment by Githook User [ 20/Mar/19 ]

Author:

{'name': 'Jeremy Mikola', 'username': 'jmikola', 'email': 'jmikola@gmail.com'}

Message: sync CRUD spec tests

This exposes a bug (CDRIVER-2992) and pulls in necessary tests for
CDRIVER-2976 and CDRIVER-2899. Synced with
mongodb/specifications@0aead5687e2a4b0c37772aad173ef87b163a23da.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/90888096d157a82c6382edad62bb108f755de190

Comment by Jeremy Mikola [ 05/Mar/19 ]

This bug is exposed after syncing CRUD tests for CDRIVER-2976 and CDRIVER-2899.

Generated at Wed Feb 07 21:16:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.