-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Repl 2026-08-03, Repl 2026-08-17, Repl 2026-08-31, Repl 2026-09-14, Repl 2026-09-28, Repl 2026-10-12, Repl 2026-10-26
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-119597 added counters to differentiate between two phase commit in internal transactions and user-initiated transactions through RouterTransactionsMetrics. Adding the same classification (internal vs. external) to other transaction metrics (eg. the TransactionCoordinator, TransactionParticipant) might be useful because we do have internal transactions on replica sets and might give us insight into customer usage rates of transactions.
However adding these metrics would mean creating a clean definition for internal vs. external transactions (not just 2pc), which doesn't exist cleanly yet. We should determine whether this is worth doing.
This is the umbrella ticket for the internal/external transactions metrics work. The full design and ticket breakdown can be foundĀ here.
- action item
-
SERVER-133030 Add internal and external differentiation to unprepared transactions
-
- Closed
-
-
SERVER-133484 Add the isServerInitiatedTransaction IDL definitions and feature flag
-
- Closed
-
-
SERVER-133855 Investigate/fix subrouter transaction classification
-
- Closed
-
-
SERVER-133908 Rename ServerTransactionsMetrics internal/external getters
-
- Closed
-
-
SERVER-135397 Attach isServerInitiatedTransaction to the first command sent to each participant
-
- Closed
-
-
SERVER-135398 Parse isServerInitiatedTransaction on shard participants and split prepared transaction metrics
-
- Closed
-
-
SERVER-135549 Set featureFlagServerInitiatedTransactionClassification to true by default once internal/external differentiation is implemented completely
-
- Closed
-
-
SERVER-135617 Add internal/external classification notes to t2 tips
-
- Closed
-
- is blocked by
-
SERVER-135617 Add internal/external classification notes to t2 tips
-
- Closed
-
- is related to
-
SERVER-119597 Differentiate internal and external transaction usage in serverStatus
-
- Closed
-