[SERVER-50405] Alias isMaster in mongocryptd and attach appropriate response field Created: 20/Aug/20  Updated: 29/Oct/23  Resolved: 16/Sep/20

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

Type: Task Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Huayu Ouyang
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
Sprint: Repl 2020-09-21
Participants:

 Description   

We will apply the same aliasing functionality used for the mongod and mongos isMaster commands in SERVER-49986 to CrytpDCmdIsMaster in the enterprise repository. They implement isMaster for mongocryptd.

mongocryptd is the client side FLE (field level encryption) support daemon, which drivers talk to.

Similarly to the mongod and mongos isMaster commands, we will decide to return an “isWritablePrimary” response field instead of an “ismaster” response field if we’re running the “hello” command.



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

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-50405 Alias isMaster in mongocryptd and attach appropriate response field

(cherry picked from commit 62d0875154cff5db2a98cd0e0924e743f069de3d)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/59c2ac97a8dea8714731fd776668c81d6278d237

Comment by Githook User [ 16/Sep/20 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-50405 Alias isMaster in mongocryptd and attach appropriate response field

(cherry picked from commit 62d0875154cff5db2a98cd0e0924e743f069de3d)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/aa8569ad2192ab1a72951c6c3053c6d346203465

Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-50405 Alias isMaster in mongocryptd and attach appropriate response field
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/62d0875154cff5db2a98cd0e0924e743f069de3d

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