ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Vinogradov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-11821) Deprecate rebalance properties at CacheConfiguration and move them to IgniteConfiguration level
Date Thu, 16 May 2019 09:07:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-11821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841146#comment-16841146
] 

Anton Vinogradov commented on IGNITE-11821:
-------------------------------------------

[~Mmuzaf]
Could we minimize the changes amount?
Main idea is to override cacheConfig's values by IgniteConfig's in case they are not default.
Let's continue to use cache config as a value producers to minimize the changes but mark get()
methods as deprecated.

> 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)

Mime
View raw message