Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41593

Remove the unused parameter "incrementOpsAppliedStats" from createIndexForApplyOps method.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Replication
    • Fully Compatible
    • Repl 2019-09-09

    Description

      Currently createIndexForApplyOps gets called only in 2 places.
      1. via applyCommand_inlock
      2. rollbackDropIndexes 

      and both of them pass this function incrementOpsAppliedStats parameter as NULL. incrementOpsAppliedStats (increments the repl.apply.ops counter) gets called after the execution of applyCommand_inlock.

      Attachments

        Activity

          People

            mihai.andrei@mongodb.com Mihai Andrei
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: