noob-se7en opened a new pull request, #16045: URL: https://github.com/apache/pinot/pull/16045
**Problem Statement:** Sometimes due to changes like table rebalance/changes in upstream partitions lead to ingestion metrics not being cleaned up on servers. This leads to servers emitting ingestion metrics despite hosting no coressponding consuming segment. While most of the bugs causing above issue have been fixed in the latest versions, this problem can still occur. The only solution to above is restarting the server which is operationally expensive and time consuming. **PR:** Adds an API which can send `IngestionMetricsRemoveMessage` to server instances. Upon receiving `IngestionMetricsRemoveMessage`, The server will remove the ingestion meters for the input segmentName and tableName. Sample Request: <img width="1438" alt="Screenshot 2025-06-09 at 1 59 20 PM" src="https://github.com/user-attachments/assets/3661c1a1-8c3c-433c-bbdf-269792dfa12f" /> Sample Response: <img width="1422" alt="Screenshot 2025-06-09 at 1 59 48 PM" src="https://github.com/user-attachments/assets/c5323b19-f766-44d0-8176-5df0cd3b5899" /> -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org