Expand writeConflictRetry in ReplicatedOplogTruncationThread

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Sometimes (at least in our tests) even reads can throw an WriteConflictError, which has to be retried.

      This commit expands writeConflictRetry to the whole of ReplicatedOplogTruncationThread::_reclaimOplog, which matches the behavior of ASC's oplog_truncation::reclaimOplog and allows us to run test passthroughs that randomly throw WCEs without failing.

            Assignee:
            Ivan Fefer
            Reporter:
            Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: