[SERVER-34253] Test that the mongo shell sends correct command requests for txns Created: 02/Apr/18 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pavithra Vetriselvan | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Participants: | |||||||||
| Description |
|
Add test coverage to verify that the mongo shell is sending the appropriate command requests to the server at different stages of using transactions. Assert that "lsid", "txnNumber", "autocommit", and "startTransaction" fields are specified correctly both when using the shell helper and runCommand() forms. |
| Comments |
| Comment by Siyuan Zhou [ 13/Apr/18 ] |
|
Please also verify we're sending afterClusterTime for the first statement in the transaction in casual consistency is specified (see the jstests/core/txns/basic_causal_consistency.js test). |