sajjad-moradi opened a new pull request, #8877:
URL: https://github.com/apache/pinot/pull/8877

   ## Description
   Currently if there's no consuming segment for a partition, it remains 
undetected. 
   With the changes in this PR, the following two metrics get emitted if for a 
partition group has no consuming segment.
   - Number of missing consuming segments
   - Maximum duration (in minutes) that a partition hasn't had a consuming 
segment
   The check happens at the beginning of the realtime segment validation 
periodic task.
   
   ## Testing Done
   - Unit tests
   - Ran LLC cluster integration test. Then deleted a consuming segment in 
ideal state and after that ran the periodic task. Here are the MBeans for the 
emitted metrics:
   
![image](https://user-images.githubusercontent.com/8548220/172966583-3ceeba6c-5e7b-4bca-af2e-154e2665490a.png)
   


-- 
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

Reply via email to