Eduard Rakhmankulov created IGNITE-15135:
--------------------------------------------
Summary: Collect all public distrubuted properties in one place.
Key: IGNITE-15135
URL: https://issues.apache.org/jira/browse/IGNITE-15135
Project: Ignite
Issue Type: Improvement
Reporter: Eduard Rakhmankulov
In Ignite we have various distributed properties stored in metastorage. Some
of that is the public - a user can change it through control.sh utility.
Now we have a bunch of properties that are registered with "hardcoded" names in
code e.g.:
{code:java}
kernalCtx.internalSubscriptionProcessor().registerDatabaseListener(new
MetastorageRecoveryLifecycle()); cpFreqDeviation = new
SimpleDistributedProperty<>("checkpoint.deviation", Integer::parseInt);
kernalCtx.internalSubscriptionProcessor().registerDistributedConfigurationListener(dispatcher
-> { cpFreqDeviation.addListener((name, oldVal, newVal) -> U.log(log,
"Checkpoint frequency deviation changed [oldVal=" + oldVal + ", newVal=" +
newVal + "]")); dispatcher.registerProperty(cpFreqDeviation); });
{code}
I propose to gather all names of public distributed properties similar to
org.apache.ignite.IgniteSystemProperties.
A list of current distributed properties should be included (need to analyze;
probably there are more of this):
* checkpoint.deviation
* historical.rebalance.threshold
--
This message was sent by Atlassian Jira
(v8.3.4#803005)