Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2005

Remove ElectionInProgress (216) from ResumableChangeStreamError

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Description of Drivers Ticket:

      Downstream Change Summary

      Removed ElectionInProgress (216) from ResumableChangeStreamError

      Description of Linked Ticket

      Since ElectionInProgress is not a user-visible error code, we should remove the check of ElectionInProgress for ResumableChangeStreamError.

      I would also prefer to always stick with the NotMasterError/RetriableError error categories. If we think an error code is client facing and should be retryable, my preference is that we should add that error to the proper category. Special-casing error codes might cause more confusions in the long run.

       

      Spec commit: https://github.com/mongodb/specifications/commit/23d681d19a0d82fe54dacda5a0b5dd1c8144cce0
      See DRIVERS-973 for updated details.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              clyde.bazile Clyde Bazile III (Inactive)
              Reporter:
              backlog-server-pm Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: