-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
v3.6, v3.4
-
Repl 2018-05-21
-
0
We have nice macros for defining a server parameter, like MONGO_EXPORT_SERVER_PARAMETER. But if you want to validate the input in any way, you can't use the macros and have to define the ServerParameter explicitly, like we do here. It would be nice if we could just pass in a lambda to the macro that returned a Status indicating whether the value provided was valid, that could be used both for startup and runtime changes.
- is depended on by
-
SERVER-32382 Rollback can time out if oplog entries are large
- Closed
- is duplicated by
-
SERVER-30389 Simple and generic way to restrict server parameter values
- Closed
- related to
-
SERVER-34952 Require validators for non-boolean server parameters
- Closed