[SERVER-42614] Remove error code 17405 and use ErrorCodes::NotMaster instead Created: 02/Aug/19  Updated: 29/Oct/23  Resolved: 08/Aug/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-32210 Stepping down recipient shard's prima... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2019-08-12
Participants:
Linked BF Score: 9

 Description   

17405 was one of the expected error codes during failover but it is not properly defined. We should remove this special one and change it to use a standard one (NotMaster) instead.



 Comments   
Comment by Githook User [ 08/Aug/19 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-42614: Remove error code 17405 and use ErrorCodes::NotMaster instead
Branch: master
https://github.com/mongodb/mongo/commit/a6b27cf4bed9d589bc7c0c3b60b695ee5c6fae31

Generated at Thu Feb 08 05:00:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.