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

Exit early upon successfully creating an OplogInterface::Iterator in roll_back_local_operations.cpp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • Replication

    Description

      During rollback, we create an OplogInterface::Iterator to find rollback operations. We want to retry in case of network errors, but we currently do not break out of the for-loop even if we successfully create an iterator. This can cause us to unnecessarily retry.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: