[SERVER-40885] Disallow running commitTransaction/abortTransaction as the first command in mongos Created: 29/Apr/19 Updated: 29/Oct/23 Resolved: 16/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.12 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Lingzhi Deng | Assignee: | Randolph Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2019-05-20 | ||||||||
| Participants: | |||||||||
| Description |
|
mongos and mongod shouldn't behave differently when commitTransaction/abortTransaction is run as the first command in a transaction. mongod currently returns OperationNotSupportedInTransaction and mongos should do the same. |
| Comments |
| Comment by Githook User [ 16/May/19 ] |
|
Author: {'name': 'Randolph Tan', 'username': 'renctan', 'email': 'randolph@10gen.com'}Message: |
| Comment by Lingzhi Deng [ 29/Apr/19 ] |
|
Unblacklist the test added in |