|
Currently, server parameters are specific to each node. To support PM-2502, the ServerParameter class must be extended to accommodate cluster-wide parameters that will be registered with the yet-to-be-implemented synchronization mechanisms.
- Create base validate() function
- Define the ServerParameterScope enum type and add a scope member to ServerParameter.
- Add generation field that is of type OID and provide getter and setter method for the member.
- Split ServerParameterSet::_map into ServerParameterSet::_nodeParameterMap and ServerParameterSet::_clusterParameterMap
- Update ServerParameterSet::add(), remove(), getMap(), get() methods to all support both maps.
- Update ServerParameter constructor so that the scope can be set during instantiation and to default-initialize the generation to the nil OID.
- Enforce that any ServerParameters that are constructed with scope set to cluster are runtime only
- Update ServerParameter unit tests as necessary
|