You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2026/07/04 18:16:00 UTC
[jira] [Updated] (PHOENIX-7822) MaxConcurrentConnectionsIT poll for async connection counts
[ https://issues.apache.org/jira/browse/PHOENIX-7822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viraj Jasani updated PHOENIX-7822:
----------------------------------
Fix Version/s: 5.3.3
(was: 5.3.2)
> MaxConcurrentConnectionsIT poll for async connection counts
> -----------------------------------------------------------
>
> Key: PHOENIX-7822
> URL: https://issues.apache.org/jira/browse/PHOENIX-7822
> Project: Phoenix
> Issue Type: Sub-task
> Components: test
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Minor
> Fix For: 5.4.0, 5.3.3
>
>
> {{PhoenixConnection.close()}} is asynchronous because internal child connections are reaped on a background thread. Counters are decremented on the close path with updates that may not be visible immediately to the caller after {{close()}} returns. Tests that assert against these counters immediately after the close call were racy. The fix is to use {{HBaseTestingUtility.waitFor()}} to poll until the counters reach the desired condition.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)