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

Make ElectionInProgress (216) a RetryableWriteError

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

      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@mongodb.com Lingzhi Deng
            Reporter:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: