[SERVER-67748] SERVER - Add additional participant information to router from shard Created: 01/Jul/22 Updated: 29/Oct/23 Resolved: 19/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Rachita Dhawan | Assignee: | Kruti Shah |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
When executing transactions on collections with global indexes, the set of shards participating in a transaction are the union of the shards containing the source data together with the shards containing any global index data that must be modified for the documents involved in a transaction. Updating the shard to router message will allow mongod processes to add participants to an active transaction to accommodate any index maintenance that must occur as a result of modifying the source data. This tickets requires adding additionalParticipants field as shown below. Mongos sends a transaction request to a shard(with attached transaction details) and the following message is received as the response.
Tests to try : |
| Comments |
| Comment by Githook User [ 17/Aug/22 ] |
|
Author: {'name': 'Kruti Shah', 'email': 'kruti139@gmail.com', 'username': 'krutishah139'}Message: |