[SERVER-34288] Allow abortTransaction or commitTransaction as first statement in transaction Created: 03/Apr/18 Updated: 29/Oct/23 Resolved: 20/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.6 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Xiangyu Yao (Inactive) | Assignee: | Pavithra Vetriselvan |
| 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: | Repl 2018-04-23, Repl 2018-05-07 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
| Comments |
| Comment by Githook User [ 20/Apr/18 ] | ||
|
Author: {'email': 'pvselvan@umich.edu', 'username': 'pvselvan', 'name': 'Pavi Vetriselvan'}Message: | ||
| Comment by Shane Harvey [ 12/Apr/18 ] | ||
|
The abortTransaction should be a no-op in this case because no operations have been performed in the transaction:
| ||
| Comment by Spencer Brody (Inactive) [ 03/Apr/18 ] | ||
|
This seems likely to be a problem with the shell helpers, not the server behavior. | ||
| Comment by Xiangyu Yao (Inactive) [ 03/Apr/18 ] | ||
|
In |