[
https://issues.apache.org/jira/browse/PHOENIX-7746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Palash Chauhan resolved PHOENIX-7746.
-------------------------------------
Fix Version/s: 5.4.0
5.3.1
Resolution: Fixed
> Fix flapper test
> MetaDataCacheMetricsIT.testGlobalClientCacheMetricsOfCreateAndDropTable
> ----------------------------------------------------------------------------------------
>
> Key: PHOENIX-7746
> URL: https://issues.apache.org/jira/browse/PHOENIX-7746
> Project: Phoenix
> Issue Type: Improvement
> Affects Versions: 5.2.1, 5.3.0, 5.4.0
> Reporter: Tanuj Khurana
> Assignee: Tanuj Khurana
> Priority: Major
> Fix For: 5.4.0, 5.3.1
>
>
> By default, we query SYSTEM.TASK after an initial delay of 10 seconds. If the
> test setup takes more than 10 seconds, the query on SYSTEM.TASK executes and
> that messes up some of the metadata cache metrics because the test metrics
> don't account for that query. We are seeing this lately because in 5.3 we are
> creating more system tables related to CDC streams. On the PHOENIX-7562
> feature branch we are hitting this often because there we have added another
> system table.
> An easy way to repro this is to add a Thread.sleep > 10 seconds in the
> failing test right before the assert check that is failing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)