[SERVER-49987] Rename response fields if “hello” is sent on mongod Created: 29/Jul/20  Updated: 29/Oct/23  Resolved: 15/Sep/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.7.0, 4.2.10, 4.4.2, 4.0.21, 3.6.21

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2, v4.0, v3.6
Sprint: Repl 2020-08-10, Repl 2020-08-24
Participants:

 Description   

For mongod, we will create new string constants, kIsWritablePrimaryFieldName and kSecondaryDelaySecs, in is_master_response. We’ll do a similar command name check in this function when deciding between “ismaster”/“isWritablePrimary” and “slaveDelay”/”secondaryDelaySecs”.



 Comments   
Comment by Githook User [ 16/Sep/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-49987 Rename response fields if hello command is sent on mongod

(cherry picked from commit e9d2fbd27574714fc3c2db7cd45d413b7fbd4718)
(cherry picked from commit 7157e90233ddc3b1b208564a711289a2d99e5ee5)
Branch: v3.6
https://github.com/mongodb/mongo/commit/48f1cdf6c9cff10639c4a8eeebe72394a4f5cabb

Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-49987 Rename response fields if hello command is sent on mongod

(cherry picked from commit e9d2fbd27574714fc3c2db7cd45d413b7fbd4718)
Branch: v4.0
https://github.com/mongodb/mongo/commit/7aaf7887c17cde616b50263e8fd8f8c904f45462

Comment by Githook User [ 10/Sep/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-49987 Rename response fields if hello command is sent on mongod

(cherry picked from commit e9d2fbd27574714fc3c2db7cd45d413b7fbd4718)
Branch: v4.2
https://github.com/mongodb/mongo/commit/562ff10472769075358706cecb7faf87cb065177

Comment by Githook User [ 09/Sep/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-49987 Rename response fields if hello command is sent on mongod

(cherry picked from commit e9d2fbd27574714fc3c2db7cd45d413b7fbd4718)
Branch: v4.4
https://github.com/mongodb/mongo/commit/fe214a3916c19cb258d98b3ffc14274ec04c2547

Comment by Githook User [ 26/Aug/20 ]

Author:

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

Message: Revert "SERVER-49987 Rename response fields if hello command is sent on mongod"

This reverts commit 7157e90233ddc3b1b208564a711289a2d99e5ee5.
Branch: v4.4
https://github.com/mongodb/mongo/commit/2281bdba9429a39a4cef57d2f287459976c10382

Comment by Githook User [ 20/Aug/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-49987 Rename response fields if hello command is sent on mongod

(cherry picked from commit e9d2fbd27574714fc3c2db7cd45d413b7fbd4718)
Branch: v4.4
https://github.com/mongodb/mongo/commit/7157e90233ddc3b1b208564a711289a2d99e5ee5

Comment by Githook User [ 20/Aug/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-49987 Rename response fields if hello command is sent on mongod
Branch: master
https://github.com/mongodb/mongo/commit/e9d2fbd27574714fc3c2db7cd45d413b7fbd4718

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