[SERVER-50412] Change “not master” error messages to “not primary” Created: 20/Aug/20  Updated: 29/Oct/23  Resolved: 09/Nov/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.5, 4.2.14

Type: Task Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-50413 Change "not master and slaveOk=false"... Closed
Related
related to SERVER-51812 Allow DBClientConnection::connect() t... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2, v4.0, v3.6
Sprint: Repl 2020-09-21, Repl 2020-11-02, Repl 2020-11-16
Participants:

 Description   

Ensure that the new error message is only returned if the client doesn't parse error messages for SDAM. This is to preserve backwards compatibility with older drivers that parse the error message for "not master".



 Comments   
Comment by James Kovacs [ 17/Mar/21 ]

Needed by Drivers to support new hello command.

Comment by Githook User [ 17/Mar/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-50412 implement helloOk protocol negotiation on mongos

(cherry picked from commit fc1b099c92ea269875e52c07f8f02a94bbb3a906)
(cherry picked from commit 53da5624fe9afaa5751cc34d7806dee652004303)
Branch: v4.2
https://github.com/mongodb/mongo/commit/deb0d4434518321c65bb264558dd957c53cfd434

Comment by Githook User [ 17/Mar/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-50412 implement helloOk protocol negotiation on mongod

(cherry picked from commit 1118ad680f76ac29795c8396beb11b0b50322f20)
(cherry picked from commit 4dbefcfc9304a9ffa1fec8390dc2bd30e0dc9a54)
Branch: v4.2
https://github.com/mongodb/mongo/commit/0aa0aad87fdd50f98abe0640385ab5a2bc443928

Comment by Githook User [ 15/Mar/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-50412 implement helloOk protocol negotiation on mongos

(cherry picked from commit fc1b099c92ea269875e52c07f8f02a94bbb3a906)
Branch: v4.4
https://github.com/mongodb/mongo/commit/53da5624fe9afaa5751cc34d7806dee652004303

Comment by Githook User [ 15/Mar/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-50412 implement helloOk protocol negotiation on mongod

(cherry picked from commit 1118ad680f76ac29795c8396beb11b0b50322f20)
Branch: v4.4
https://github.com/mongodb/mongo/commit/4dbefcfc9304a9ffa1fec8390dc2bd30e0dc9a54

Comment by Githook User [ 09/Nov/20 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-50412 implement helloOk protocol negotiation on mongos
Branch: master
https://github.com/mongodb/mongo/commit/fc1b099c92ea269875e52c07f8f02a94bbb3a906

Comment by Githook User [ 05/Nov/20 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-50412 implement helloOk protocol negotiation on mongod
Branch: master
https://github.com/mongodb/mongo/commit/1118ad680f76ac29795c8396beb11b0b50322f20

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