[SERVER-37801] Add prepare transaction metrics tracking to concurrency test Created: 29/Oct/18  Updated: 29/Oct/23  Resolved: 29/Nov/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: Needs Triage
Fix Version/s: 4.1.6

Type: Improvement Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: prepare_diagnostics, prepare_optional
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-11-19, Repl 2018-12-03
Participants:

 Description   

We already have a basic concurrency test to verify that the various transactions metrics tracked in serverStatus follow basic invariants when multiple transactions are run concurrently.

We should extend this test to include cases with prepared transactions. For example, we can:

  • check that the expected totalPreparedThenAborted and totalPreparedThenCommitted counts are correct
  • check that totalPreparedThenAborted + totalPreparedThenCommitted = totalPrepared
  • check that totalCommitted + totalAborted + totalPreparedThenAborted + totalPreparedThenCommitted + currentOpen = totalStarted


 Comments   
Comment by Githook User [ 29/Nov/18 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com'}

Message: SERVER-37801 Add prepared transaction metrics tracking to concurrency test suite
Branch: master
https://github.com/mongodb/mongo/commit/aa2ca96d7ec487efabcfe93a0526caeb5cfe28b7

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