Details
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”.