[SERVER-23134] Add FetcherWithRetries Created: 14/Mar/16  Updated: 25/Jan/17  Resolved: 16/May/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-24067 TaskExecutor RemoteCommandCallbackArg... Closed
is related to SERVER-23647 Create helper function for encapsulat... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 13 (04/22/16), Repl 14 (05/13/16), Repl 15 (06/03/16)
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-23134 added retry support for scheduling remote commands on a task executor
Branch: master
https://github.com/mongodb/mongo/commit/643439ff4fc91c49ffc2b103ba3858de1a165024

Comment by Githook User [ 06/May/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-23134 removed QueryFetcher
Branch: master
https://github.com/mongodb/mongo/commit/d7e278414b7ab0c8534db5a3ebc0b03e581a7e8a

Generated at Thu Feb 08 04:02:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.