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

Make ElectionInProgress (216) a RetryableWriteError

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Repl 2020-04-06

    Description

      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.

      Attachments

        Activity

          People

            lingzhi.deng@mongodb.com Lingzhi Deng
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: