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

Properly retry in getFirstOplogEntry in rslib.js

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • Repl 2025-03-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This code intends to retry on CappedPositionLost errors. However, it looks like the query is outside of the retry loop, which may lead the assert.soon() to retry until the timeout expires, then fail.

            Assignee:
            xuerui.fa@mongodb.com Xuerui Fa
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: