You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Uttsel (Jira)" <ji...@apache.org> on 2023/05/11 15:11:00 UTC
[jira] [Updated] (IGNITE-19427) Change the default value of dataNodesAutoAdjustScaleUp for custom distribution zones to IMMEDIATE_TIMER_VALUE
[ https://issues.apache.org/jira/browse/IGNITE-19427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Uttsel updated IGNITE-19427:
-----------------------------------
Summary: Change the default value of dataNodesAutoAdjustScaleUp for custom distribution zones to IMMEDIATE_TIMER_VALUE (was: Change the default value of dataNodesAutoAdjustScaleUp for custom zones to IMMEDIATE_TIMER_VALUE)
> Change the default value of dataNodesAutoAdjustScaleUp for custom distribution zones to IMMEDIATE_TIMER_VALUE
> -------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-19427
> URL: https://issues.apache.org/jira/browse/IGNITE-19427
> Project: Ignite
> Issue Type: Bug
> Reporter: Sergey Uttsel
> Assignee: Sergey Uttsel
> Priority: Blocker
> Labels: ignite-3
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> h3. *Motivation*
> At https://issues.apache.org/jira/browse/IGNITE-18624 the value of DistributionZoneConfigurationSchema#dataNodesAutoAdjustScaleUp was changed to IMMEDIATE_TIMER_VALUE. But this only affected the default zone. Custom zones are still created with INFINITE_TIMER_VALUE by default. We need to change default value of dataNodesAutoAdjustScaleUp for custom zones to IMMEDIATE_TIMER_VALUE.
> Also this change will fix some flaky tests, for example ItPageMemoryStorageExampleTest.testPersistentExample():
> {code:java}
> Caused by: java.lang.AssertionError
> at org.apache.ignite.internal.raft.RaftGroupServiceImpl.randomNode(RaftGroupServiceImpl.java:680)
> at org.apache.ignite.internal.raft.RaftGroupServiceImpl.randomNode(RaftGroupServiceImpl.java:667)
> at org.apache.ignite.internal.raft.RaftGroupServiceImpl.refreshLeader(RaftGroupServiceImpl.java:222)
> at org.apache.ignite.internal.raft.RaftGroupServiceImpl.start(RaftGroupServiceImpl.java:178) {code}
> h3. *Definition of Done*
> dataNodesAutoAdjustScaleUp is IMMEDIATE_TIMER_VALUE for new custom zones.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)