linkedin / cruise-control

Cruise-control is the first of its kind to fully automate the dynamic workload rebalance and self-healing of a Kafka cluster. It provides great value to Kafka users by simplifying the operation of Kafka clusters.
https://github.com/linkedin/cruise-control/tags
BSD 2-Clause "Simplified" License
2.74k stars 585 forks source link

Fix endpoint metrics involving task execution #2069

Closed hshi2022 closed 11 months ago

hshi2022 commented 12 months ago

This PR resolves #2068. This fix has markTaskExecutionFinished to update the endpoint timer metrics when the execution is done and also eliminates the race condition between checkActiveUserTasks and startExecution on updating the metrics.