[CXX-2005] Remove ElectionInProgress (216) from ResumableChangeStreamError Created: 23/Apr/20  Updated: 10/Jun/20  Resolved: 10/Jun/20

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Clyde Bazile III (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-3589 Remove ElectionInProgress (216) from ... Closed
Epic Link: CXX 4.4 Support

 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.


Generated at Wed Feb 07 22:04:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.