[SERVER-13278] Logging improvement: ReplSetImpl::lastOtherElectableOpTime() Created: 19/Mar/14 Updated: 28/Aug/14 Resolved: 28/Aug/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | Needs Triage |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Charlie Page | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
lastOtherElectableOpTime() logs every time it finds an optime greater the last one (starting with (0,0)). This should probably be debugging info, not generally logged. And in debugging every comparison should be reported, as we are starting at (0,0) only reporting (possibly) some seems arbitrary. Lastly, ReplSetImpl::lastOtherElectableOpTime() is only called from CmdReplSetStepDown() and that also reports the results. |
| Comments |
| Comment by Eric Milkie [ 28/Aug/14 ] |
|
The function itself is going away for 2.8 |