|
Based on the design for PM-2925, we are not going to add an IDL flag determining whether a cluster parameter is active on standalone mongod. Instead, we are just going to have all cluster parameters be active on standalone. The reasons we believe this to be OK are:
1. Whether or not we are a standalone mongod is a relatively easy condition to check for, and any cluster parameters that should be disabled on standalone can just add this check in their validate function.
2. Only a subset of cluster parameters (specialized cluster parameters) can run custom code upon set, and the extent of what they can do is very limited as they are running within an OpObserver. This means that we don't have to be too worried about what happens if a cluster parameter which is not intended for standalone gets set on standalone – in most cases, they will just be ignored.
|