In a replica set, if we set a cluster server parameter it gets stored in the durable collection config.clusterParameters.
If the node is then shut down and started back as a standalone the node won't be able to start since it will attempt to set the cluster parameter from the collection:
{"t":{"$date":"2023-07-24T10:42:34.527+00:00"},"s":"D1", "c":"ASSERT", "id":23074, "ctx":"initandlisten","msg":"User assertion","attr":{"error":"IllegalOperation: The 'changeStreamOptions' parameter is unsupported in standalone.","file":"src/mongo/idl/cluster_parameter_synchronization_helpers.cpp","line":68}} {"t":{"$date":"2023-07-24T10:42:34.528+00:00"},"s":"D1", "c":"ASSERT", "id":23074, "ctx":"initandlisten","msg":"User assertion","attr":{"error":"OperationFailed: ","file":"src/mongo/idl/cluster_parameter_synchronization_helpers.h","line":128}}
- is caused by
-
SERVER-65249 Activate cluster parameters on standalone
- Closed