apurtell opened a new pull request, #2747: URL: https://github.com/apache/phoenix/pull/2747
The connection leak check after each test sometimes fails because the count of open connections goes negative. The class runs in a test group that reuses forks, so it shares a mini cluster that an earlier class started. Its setup then cannot turn off the index CDC consumer. The consumer opens server connections, and the global connection metric counts them. When a consumer connection opens before the metric reset and closes after it, the count goes below zero. The leak check cannot recover from this. This change is test-only. The class now starts its own mini cluster, so its setup applies. The leak check does not change. PHOENIX-8094 fixes the same problem in the metadata endpoint test. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
