[
https://issues.apache.org/jira/browse/IGNITE-11821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841972#comment-16841972
]
Maxim Muzafarov commented on IGNITE-11821:
------------------------------------------
[~avinogradov],
I've changed re-linked the old constant values to the new one in the
{{IgniteConfiguration}} and it reduced changes a bit. Also, I think we should
not add any logic to CacheConfiguration class, so better to override used
values in, for instance, \{{GridCachePreloader}}.
I've also made some fixes according to your suggestions. Can you take a look
again?
> Deprecate rebalance properties at CacheConfiguration and move them to
> IgniteConfiguration level
> -----------------------------------------------------------------------------------------------
>
> Key: IGNITE-11821
> URL: https://issues.apache.org/jira/browse/IGNITE-11821
> Project: Ignite
> Issue Type: Improvement
> Reporter: Maxim Muzafarov
> Assignee: Maxim Muzafarov
> Priority: Major
> Labels: iep-16, rebalance
> Fix For: 2.8
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The set of cluster rebalancing properties below must be maintained and
> provided by {{IgniteConfiguration}}, so an administrator will be able to tune
> the cluster rebalance behaviour depending on used hardware (e.g. the
> different hardware can have different maximum transmission unit (MTU) and
> it's strongly recommended to use specific rebalanceBatchSize for each cluster
> environment).
> Currently, there is no way to change these properties for already created
> persistent caches.
> {code:java|title=CacheConfiguration.java}
> /** Rebalance timeout. */
> private long rebalanceTimeout = DFLT_REBALANCE_TIMEOUT;
> /** Rebalance batch size. */
> private int rebalanceBatchSize = DFLT_REBALANCE_BATCH_SIZE;
> /** Rebalance batches prefetch count. */
> private long rebalanceBatchesPrefetchCnt =
> DFLT_REBALANCE_BATCHES_PREFETCH_COUNT;
> /** Time in milliseconds to wait between rebalance messages to avoid
> overloading CPU. */
> private long rebalanceThrottle = DFLT_REBALANCE_THROTTLE;
> {code}
> _*Documentation must be updated.*_
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)