[CSHARP-1141] Rename MongoNotMasterException to MongoNotPrimaryException Created: 03/Dec/14  Updated: 02/Apr/15  Resolved: 03/Dec/14

Status: Closed
Project: C# Driver
Component/s: Error Handling
Affects Version/s: None
Fix Version/s: 2.0

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

We prefer the term "Primary" to "Master" in general.



 Comments   
Comment by Githook User [ 03/Dec/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1141: Move most of the not primary checking code into ExceptionMapper.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/93c2d364fa450c59143bf7ec45fae2f036cc1f00

Comment by Githook User [ 03/Dec/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1141: Rename MongoNotMasterException to MongoNotPrimaryException.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/ebc658116f548b1d43b26b19e4567b9e3f1bbf1f

Comment by Robert Stam [ 03/Dec/14 ]

Also, wherever we check whether to throw MongoNotMasterException, we should also check whether to throw MongoNodeIsRecoveringException.

Generated at Wed Feb 07 21:38:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.