-
Type:
Bug
-
Status: Closed
-
Priority:
Major - P3
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Sharding
-
Labels:None
-
Backwards Compatibility:Fully Compatible
-
Operating System:ALL
-
Backport Requested:v4.2
-
Epic Link:
-
Sprint:Sharding 2019-08-26
As part of constructing a currentOp entry, TransactionRouter::_reportState adds stats for its current transaction to a BSONObjBuilder. These stats include some that will have already been set for active transactions, like "type", "host", "desc" (set in CurOp::reportCurrentOpForClient(). Instead, when the TransactionRouter's session is active, it should only set the "transaction" field.