- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: 4.0.2, 4.1.2
- 
    Component/s: Diagnostics, Replication
- 
    None
- 
        Fully Compatible
- 
        ALL
- 
        v4.0
- 
        
- 
        Repl 2018-10-22, Repl 2018-11-05, Repl 2018-11-19
- 
        0
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
Got a value of -1 for the currentActive transactions when running serverStatus against a replica set secondary.
"transactions" : { "retriedCommandsCount" : NumberLong(0), "retriedStatementsCount" : NumberLong(0), "transactionsCollectionWriteCount" : NumberLong(0), "currentActive" : NumberLong(-1), "currentInactive" : NumberLong(1), "currentOpen" : NumberLong(0), "totalAborted" : NumberLong(1), "totalCommitted" : NumberLong(0), "totalStarted" : NumberLong(1) }
- related to
- 
                    SERVER-33580 Restrict multi-statement transactions to primaries -         
- Closed
 
-         
- 
                    SERVER-34557 Allow running transactions against primaries with readPreferences other than 'primary' -         
- Closed
 
-