Properly retry in getFirstOplogEntry in rslib.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • Repl 2025-03-17
    • None
    • 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
            Reporter:
            Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: