Vadim Pakhnushev created IGNITE-28191:
-----------------------------------------

             Summary: 
ItPartitionTableStatsMetricTest#recreateTableWithTheSameName is flaky
                 Key: IGNITE-28191
                 URL: https://issues.apache.org/jira/browse/IGNITE-28191
             Project: Ignite
          Issue Type: Bug
          Components: metrics ai3
            Reporter: Vadim Pakhnushev
            Assignee: Vadim Pakhnushev


The test sometimes fails with the following exception:
{noformat}
java.lang.IllegalArgumentException: Metrics not found 
partition.statistics.table.28.partition.0
  at 
org.apache.ignite.internal.table.ItPartitionTableStatsMetricTest.lambda$expectAggregatedMetricValue$4(ItPartitionTableStatsMetricTest.java:307)
{noformat}
This happens because after table recreation metrics are registered 
asynchronously. If metrics are registered on the remote node with a slight 
delay, enableStats call could miss the node that hosts the partition and we 
wouldn't find the metrics source.



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

Reply via email to