[
https://issues.apache.org/jira/browse/IGNITE-14175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284744#comment-17284744
]
Ignite TC Bot commented on IGNITE-14175:
----------------------------------------
{panel:title=Branch: [pull/8799/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8799/head] Base: [master] : New Tests
(5)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 5{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=5875292]]
* {color:#013220}IgniteCacheTestSuite5: RebalanceMetricsTest.testReceivedKeys -
PASSED{color}
{color:#00008b}Basic 1{color} [[tests
4|https://ci.ignite.apache.org/viewLog.html?buildId=5875272]]
* {color:#013220}IgniteBasicTestSuite: GridMutableLongTest.testInitialization -
PASSED{color}
* {color:#013220}IgniteBasicTestSuite: IntHashMapTest.testComputeIfAbsent -
PASSED{color}
* {color:#013220}IgniteBasicTestSuite: GridMutableLongTest.testToString -
PASSED{color}
* {color:#013220}IgniteBasicTestSuite: GridMutableLongTest.testIncrementAndGet
- PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5875334&buildTypeId=IgniteTests24Java8_RunAll]
> Update metric for loaded keys through rebalance once at the demand message
> --------------------------------------------------------------------------
>
> Key: IGNITE-14175
> URL: https://issues.apache.org/jira/browse/IGNITE-14175
> Project: Ignite
> Issue Type: Improvement
> Components: cache
> Reporter: Kirill Tkalenko
> Assignee: Kirill Tkalenko
> Priority: Major
> Fix For: 2.11
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We are consuming more than half of all rebalance time to updating metrics,
> even if the statistic does not enable in the cache.
> The problem is here:
> {code:java}
> //TODO: IGNITE-11330: Update metrics for touched cache only.
> for (GridCacheContext ctx : grp.caches()) {
> if (ctx.statisticsEnabled())
> ctx.cache().metrics0().onRebalanceKeyReceived();
> }
> {code}
> It needs to update once for one demand message and only if the statistic
> enabled on the cache.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)