Unify CS PrimaryOnlyService retry predicates

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Resharding (and other PrimaryOnlyServices) maintain a list of non-fatal error codes here. However, there have been cases where we needed to add new error codes to this list, but were reluctant to add them to this main list in the interest of minimizing changes to unrelated code. This has led to two more variants, kRetryabilityPredicateIncludeWriteConcernTimeout and kRetryabilityPredicateIncludeLockTimeoutAndWriteConcern. We should try to collapse all of these definitions into a single notion of retryable error codes for PrimaryOnlyServices.

            Assignee:
            Unassigned
            Reporter:
            Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: