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

Add FetcherWithRetries

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.8
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 13 (04/22/16), Repl 14 (05/13/16), Repl 15 (06/03/16)

      We should add a new fetcher descendent which knows how to retry a number of times, and limited by elapsed time for the total number of retries.

      This class should also know which errors exit the retry loop, using one of these strategies:

      1. Retry until ErrorCodeSet contains the error
      2. Retry while ErrorCodeSet contains the error
        (where the ErrorCodeSet is provided by the caller/user)

      This will be needed by the new DataReplicator/InitialSync code but can also be used by sharding use of the QueryFetcher which already has its own retry loop.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: