[SERVER-50651] Replace occurrences of isMaster command with hello in jstests Created: 31/Aug/20  Updated: 29/Oct/23  Resolved: 01/Oct/20

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

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

Issue Links:
Related
is related to SERVER-49989 Add db.hello() shell helper Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-09-21, Repl 2020-10-05
Participants:

 Description   

We should replace occurrences of db.isMaster() and runCommand({isMaster: 1})/runCommand({ismaster: 1}) with either the db.hello helper or runCommand({hello: 1}) in our jstests.



 Comments   
Comment by Githook User [ 01/Oct/20 ]

Author:

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

Message: SERVER-50651 Replace occurrences of isMaster command with hello in misc jstests
Branch: master
https://github.com/mongodb/mongo/commit/fa5aff14111de4fe23ae0094c597673cc4a48d3b

Comment by Githook User [ 28/Sep/20 ]

Author:

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

Message: SERVER-50651 Replace occurrences of isMaster command with hello in sharding jstests
Branch: master
https://github.com/mongodb/mongo/commit/6fb29e6445de3aec270c5f719264f80167c304ed

Comment by Githook User [ 28/Sep/20 ]

Author:

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

Message: SERVER-50651 Replace occurrences of isMaster command with hello in replsets jstests
Branch: master
https://github.com/mongodb/mongo/commit/93cff71bfc5b28d0724e9c19f52041f249fb854c

Comment by Githook User [ 28/Sep/20 ]

Author:

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

Message: SERVER-50651 Replace occurrences of isMaster command with hello in noPassthrough jstests
Branch: master
https://github.com/mongodb/mongo/commit/f509116d2db0aa550d05c77f385402cd0d1406b4

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