yashmayya opened a new pull request, #15201: URL: https://github.com/apache/pinot/pull/15201
- https://github.com/apache/pinot/commit/f1509f8a4339181d8540abd5e9f66e2d25bb67d3 introduced a `Map<Long, Set<QueryServerInstance>> _serversByQuery` in `QueryDispatcher` that tracks the set of servers that a query has been dispatched to. - However, entries in this map are only cleared for failed or cancelled queries and the map isn't updated for successful queries. - This is a critical memory leak in brokers with query cancellation enabled as this map will grow indefinitely. - This patch fixes the issue by clearing the map entries for successful queries as well. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
