Make ElectionInProgress (216) a RetryableWriteError

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Repl 2020-04-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There is an overlap in the errors that have the ResumableChangeStream error label and the RetryableWriteError label added to them.

      Currently, ElectionInProgress errors only have the ResumableChangeStream error label added to them (code here), which makes me think that this error should also be considered a retryable write error by the driver.

      I propose including this error in the list of error codes that have the RetryableWriteError label added to them.

            Assignee:
            Lingzhi Deng
            Reporter:
            Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: