[SERVER-72793] Handle WouldChangeOwningShard for bulkWrite Created: 12/Jan/23 Updated: 02/Feb/24 Resolved: 16/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Lingzhi Deng | Assignee: | Kaitlin Mahar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | milestone-2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Replication
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Repl 2023-08-07, Repl 2023-09-04, Repl 2023-10-16, Repl 2023-10-30, Repl 2023-11-13, Repl 2023-11-27 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
If any operation returns WouldChangeOwningShard from a shard, mongos will handle it at the top-level after the entire bulkWrite has finished executing in the same way as handleWouldChangeOwningShardError, assuming this is a single-update bulkWrite. We do not support (i.e. error out) bulkWrite with ops size > 1 and updates that modify a document’s owning shard. This will be done in PM-2015. |
| Comments |
| Comment by Githook User [ 16/Nov/23 ] |
|
Author: {'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}Message: |