-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
v4.0
-
Repl 2018-07-02, Repl 2018-07-16, Repl 2018-07-30
To aide diagnosing test failures, we should add logging any time we take an election-related action (election timeout expiring, calling for an election, voting in an election, etc), with all possible inputs to that decision (dump of heartbeat and spanning tree liveness tables, etc.).
This could be done with a new log sub-component, so that we can have higher verbosity in our tests than in prod.
- causes
-
SERVER-36345 Coverity analysis defect 104941: Pointer to local outside scope
- Closed
- is duplicated by
-
SERVER-30851 Log when sending requests in scatter-gather runner
- Closed
-
SERVER-31106 Log election losses
- Closed
- is related to
-
SERVER-32907 Turn heartbeat log verbosity back down in tests
- Closed
-
SERVER-11086 Election handoff to new primary, during stepdown
- Closed
-
SERVER-27908 log every heartbeat during testing
- Closed
-
SERVER-32770 ReplSetRequestVotesResponse should describe reason for 'yes' vote
- Closed