[SERVER-32004] Make the `KeysRotationIntervalSecs` parameter work only in if `testCommands` is enabled Created: 16/Nov/17  Updated: 27/Oct/23  Resolved: 30/Nov/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-12-04
Participants:

 Description   

To avoid doc writing (all startup parameters has to be documented) and limit the scope of its applicability.



 Comments   
Comment by Misha Tyulenev [ 22/Nov/17 ]

I think the consistent way to handle it is to add a way to register parameters that only work when some boolean available at startup is set (i.e. Command::testCommandEnabled) also can add (testParameterEnabled)
Otherwise it seems to have no value to disable this parameter (by introducing a default value that is separate and ignoring the value of the parameter)
So I suggest to document in 3.6 KeysRotationIntervalSecs but mention that it may go away and add a ticket to platforms for adding a facility to have testOnly parameters. Unless there is an easy way to achieve the same in current code. schwerin wdyt?

Generated at Thu Feb 08 04:28:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.