gortiz opened a new pull request, #12403: URL: https://github.com/apache/pinot/pull/12403
When the controller steps back and stops being the leader of a table, all metrics should be deleted. Previously just a list of them were deleted. This is a very error prone process. Some metrics were not listed there and some other were removed twice for some reason. The metrics that were not deleted at that point did not disappear until the controller was restarted. This PR changes the way metrics are removed so we iterate over all enum values and delete any of them that is not global. In case we want to keep some specific metric, we can just explicitly ignore them in `SegmentStatusChecker` -- 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]
