apurtell opened a new pull request, #2727: URL: https://github.com/apache/phoenix/pull/2727
The view creation test fails sometimes in CI with a `Not allowed` error from the test coprocessor. The coprocessor counts pool threads. It sizes an array from the active thread count and then fills the array. When threads exit between the two steps, the fill step uses fewer slots. The code reads all slots, so it throws a null pointer exception on an empty slot. The coprocessor catches the exception, logs an error without the exception, and returns the error. This change is test-only. The code now reads only the filled slots. The assertion is not weaker, because the old code checked the same filled slots. 🤖 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]
