[jira] [Updated] (IGNITE-27646) ItRebalanceMetricsTest.testRebalanceMetrics is flaky

2026-01-26 Thread Vyacheslav Koptilin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-27646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-27646:
-
Description: 
Test fails with the following error:
{noformat}
java.lang.AssertionError:
Expected: is  
but: was   
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
  at 
org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}
The root cause is that blocking a watch notification thread does not guarantee 
that metastorage cannot be updated.
So, the easiest way to "freeze" updating pending/stable keys is by blocking the 
rebalance thread pool (which is single threaded executor).

  was:
Test fails with the following error:
{noformat}
java.lang.AssertionError:
Expected: is  
but: was   
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
  at 
org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}
The root cause is that blocking a watch notification thread does not guarantee 
that metastorage cannot be updated.
So, the easiest way to achieve 


> ItRebalanceMetricsTest.testRebalanceMetrics is flaky
> 
>
> Key: IGNITE-27646
> URL: https://issues.apache.org/jira/browse/IGNITE-27646
> Project: Ignite
>  Issue Type: Bug
>  Components: metrics ai3
>Reporter: Vyacheslav Koptilin
>Assignee: Vyacheslav Koptilin
>Priority: Major
>  Labels: MakeTeamcityGreenAgain, ignite-3
> Fix For: 3.2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Test fails with the following error:
> {noformat}
> java.lang.AssertionError:
> Expected: is  
> but: was   
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
>   at 
> org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
>   at java.base/java.lang.reflect.Method.invoke(Method.java:568)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}
> The root cause is that blocking a watch notification thread does not 
> guarantee that metastorage cannot be updated.
> So, the easiest way to "freeze" updating pending/stable keys is by blocking 
> the rebalance thread pool (which is single threaded executor).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-27646) ItRebalanceMetricsTest.testRebalanceMetrics is flaky

2026-01-26 Thread Vyacheslav Koptilin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-27646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-27646:
-
Description: 
Test fails with the following error:
{noformat}
java.lang.AssertionError:
Expected: is  
but: was   
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
  at 
org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}
The root cause is that blocking a watch notification thread does not guarantee 
that metastorage cannot be updated.
So, the easiest way to achieve 

  was:
Test fails with the following error:
{noformat}
java.lang.AssertionError:
Expected: is  
but: was   
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
  at 
org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}
The root cause is that blocking a watch notification thread does not guarantee 
that metastorage cannot be updated.


> ItRebalanceMetricsTest.testRebalanceMetrics is flaky
> 
>
> Key: IGNITE-27646
> URL: https://issues.apache.org/jira/browse/IGNITE-27646
> Project: Ignite
>  Issue Type: Bug
>  Components: metrics ai3
>Reporter: Vyacheslav Koptilin
>Assignee: Vyacheslav Koptilin
>Priority: Major
>  Labels: MakeTeamcityGreenAgain, ignite-3
> Fix For: 3.2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Test fails with the following error:
> {noformat}
> java.lang.AssertionError:
> Expected: is  
> but: was   
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
>   at 
> org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
>   at java.base/java.lang.reflect.Method.invoke(Method.java:568)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}
> The root cause is that blocking a watch notification thread does not 
> guarantee that metastorage cannot be updated.
> So, the easiest way to achieve 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-27646) ItRebalanceMetricsTest.testRebalanceMetrics is flaky

2026-01-26 Thread Vyacheslav Koptilin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-27646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-27646:
-
Description: 
Test fails with the following error:
{noformat}
java.lang.AssertionError:
Expected: is  
but: was   
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
  at 
org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}
The root cause is that blocking a watch notification thread does not guarantee 
that metastorage cannot be updated.

  was:
Test fails with the following error:
{noformat}
java.lang.AssertionError:
Expected: is  
but: was   
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
  at 
org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}


> ItRebalanceMetricsTest.testRebalanceMetrics is flaky
> 
>
> Key: IGNITE-27646
> URL: https://issues.apache.org/jira/browse/IGNITE-27646
> Project: Ignite
>  Issue Type: Bug
>  Components: metrics ai3
>Reporter: Vyacheslav Koptilin
>Assignee: Vyacheslav Koptilin
>Priority: Major
>  Labels: MakeTeamcityGreenAgain, ignite-3
> Fix For: 3.2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Test fails with the following error:
> {noformat}
> java.lang.AssertionError:
> Expected: is  
> but: was   
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
>   at 
> org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
>   at java.base/java.lang.reflect.Method.invoke(Method.java:568)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}
> The root cause is that blocking a watch notification thread does not 
> guarantee that metastorage cannot be updated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-27646) ItRebalanceMetricsTest.testRebalanceMetrics is flaky

2026-01-22 Thread Vyacheslav Koptilin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-27646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-27646:
-
Description: 
Test fails with the following error:
{noformat}
java.lang.AssertionError:
Expected: is  
but: was   
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
  at 
org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}

  was:
Test fails with the following error:
{noformat}
java.lang.AssertionError: 
Expected: is 
 but: was java.lang.AssertionError:Expected: is  but: was 
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  at 
org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  at 
org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
  at java.base/java.lang.reflect.Method.invoke(Method.java:568)  at 
java.base/java.util.ArrayList.forEach(ArrayList.java:1511)  at 
java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}


> ItRebalanceMetricsTest.testRebalanceMetrics is flaky
> 
>
> Key: IGNITE-27646
> URL: https://issues.apache.org/jira/browse/IGNITE-27646
> Project: Ignite
>  Issue Type: Bug
>  Components: metrics ai3
>Reporter: Vyacheslav Koptilin
>Assignee: Vyacheslav Koptilin
>Priority: Major
>  Labels: MakeTeamcityGreenAgain, ignite-3
>
> Test fails with the following error:
> {noformat}
> java.lang.AssertionError:
> Expected: is  
> but: was   
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  
>   at 
> org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
>   at java.base/java.lang.reflect.Method.invoke(Method.java:568)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-27646) ItRebalanceMetricsTest.testRebalanceMetrics is flaky

2026-01-22 Thread Vyacheslav Koptilin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-27646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-27646:
-
Labels: MakeTeamcityGreenAgain ignite-3  (was: ignite-3)

> ItRebalanceMetricsTest.testRebalanceMetrics is flaky
> 
>
> Key: IGNITE-27646
> URL: https://issues.apache.org/jira/browse/IGNITE-27646
> Project: Ignite
>  Issue Type: Bug
>  Components: metrics ai3
>Reporter: Vyacheslav Koptilin
>Assignee: Vyacheslav Koptilin
>Priority: Major
>  Labels: MakeTeamcityGreenAgain, ignite-3
>
> Test fails with the following error:
> {noformat}
> java.lang.AssertionError: 
> Expected: is 
>  but: was java.lang.AssertionError:Expected: is  but: 
> was   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)  
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)  at 
> org.apache.ignite.internal.rebalance.ItRebalanceMetricsTest.testRebalanceMetrics(ItRebalanceMetricsTest.java:156)
>   at java.base/java.lang.reflect.Method.invoke(Method.java:568)  at 
> java.base/java.util.ArrayList.forEach(ArrayList.java:1511)  at 
> java.base/java.util.ArrayList.forEach(ArrayList.java:1511){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)