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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Replication

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: