Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions source/collation/collation.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ db.collection.bulkWrite([
]);
```

The driver must inspect each operation for a Collation if maxWireVersion is < 5 and fail the entire bulkWrite if a
collation was explicitly specified. In the example above, that means even the insertOne (without Collation) MUST NOT be
sent.
The driver MUST inspect all operations before sending any to the server. If any operation specifies a Collation, the
driver MUST raise an error and MUST NOT send any operations to the server. In the example above, even the insertOne
(which has no Collation) MUST NOT be sent.

## Test Plan

Expand Down Expand Up @@ -222,6 +222,8 @@ A: A collection with a default collation can be created using the create helper

## Changelog

- 2026-05-20: Clarify BulkWrite pre-flight check: use RFC 2119 MUST and make explicit that all operations are inspected
before any are sent.
- 2026-05-13: Fix "Minimum Server Version" header from 1.8 to 3.4, matching the maxWireVersion 5 requirement stated in
the spec body.
- 2024-02-15: Migrated from reStructuredText to Markdown.
Expand Down
Loading