[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:
Tested
is testing SERVER-34321 Require stmtId for multi-statement tr... Closed
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).

Generated at Thu Feb 08 04:36:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.