Add more unit test coverage to finalizeStepUp

XMLWordPrintableJSON

    • Type: Engineering Test
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • RSSD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-117247 introduced unit testing for state_utils.cpp, but was focused on test coverage around createOplogEntryForStepUp (which was created as part of the logServerManager refactor). We're currently lacking unit test coverage for the finalizeStepUp code path of the conditional append log succeeding but no checkpoint.

      Acceptance criteria for this ticket would be adding this test case for standbyAppendLog succeeding but getLastCompletedCheckpointInfo returning an empty checkpoint. 

      Impact: Making our step up and state machine unit test coverage more robust. 

            Assignee:
            Unassigned
            Reporter:
            Ruchitha Rajaghatta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: