[SERVER-34184] Commands with autocommit or startTransaction but without txnNumber and lsid should error Created: 28/Mar/18 Updated: 29/Oct/23 Resolved: 13/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Shane Harvey | Assignee: | Siyuan Zhou |
| 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 | ||||||||
| Participants: | |||||||||
| Description |
|
Commands that include the "autocommit" or "startTransaction" field but do not also include the "txnNumber" and "lsid" fields should error. Commands that include the "txnNumber" field but do not also include the "lsid" field should also error. This will help drivers find bugs when implementing the transaction API. |
| Comments |
| Comment by Githook User [ 13/Apr/18 ] |
|
Author: {'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou', 'username': 'visualzhou'}Message: |
| Comment by Siyuan Zhou [ 13/Apr/18 ] |
|
"stmtId" is not included in this ticket because we don't parse it. Parsing "stmtId" is tracked in |