Details
Description
For mongos, we will create a new string constant, kIsWritablePrimaryFieldName, in mongos_ismaster_response. We’ll check for the command name here before deciding whether to attach an “ismaster” or “isWritablePrimary” response field.