-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing mongod-only server parameters through mlaunch #696
Comments
Two possible workarounds would be:
We could perhaps something like Cheers, |
If the goal of mlaunch is to encapsulate cluster provisioning logic, then having --setParameterMongod and setParameterMongos makes a lot of sense. With adminCommand, from https://docs.mongodb.com/manual/reference/command/setParameter/ it is not clear which instances I need to execute it in if I have a deployment with 2 mongos and 3 replica set nodes behind each mongos. Do I need to run adminCommand one on each mongos (and then it would work even though --setParameter did not?), one on each RS master (bypassing mongos somehow?) or one on each mongod (6 calls in total)? |
I don't believe the Another way to approach UX might be using the tags in |
Yes, if the user needs to do that many manual invocations, having mlaunch assist will definitely be appreciated. |
Per the current documentation at https://docs.mongodb.com/manual/reference/parameters/#param.diagnosticDataCollectionEnabled, diagnosticDataCollectionEnabled can be passed to both mongod and mongos as of server 3.4, mitigating the issue. |
I recently encountered the need to pass In the absence of a
This works nicely for this simple case. If more advanced choices are required, then a utility like shwrapnel might be useful. |
I tried passing
--setParameter transactionLifetimeLimitSeconds=15
to my sharded cluster via mlaunch. mlaunch failed thusly:I filed https://jira.mongodb.org/browse/DOCS-12806 for this issue, but on the server parameter reference page (https://docs.mongodb.com/manual/reference/parameters/#param.transactionLifetimeLimitSeconds) there is, for example, maxTransactionLockRequestTimeoutMillis (https://docs.mongodb.com/manual/reference/parameters/#param.maxTransactionLockRequestTimeoutMillis) which is documented as being available for mongod only.
How does one pass parameters which are only recognized by mongod or mongos through mlaunch, without mlaunch giving them to the other binary which does not recognize them?
The text was updated successfully, but these errors were encountered: