andreas-schroeder / kafka-health-check

Health Check for Kafka Brokers.
MIT License
243 stars 84 forks source link

Fix race cond. when expanding replication topic #34

Open andpol opened 5 years ago

andpol commented 5 years ago

Two or more health check instances started at around the same time would read the partition assignment state, selfishly add only themselves, and the last to write would be the result. The loser health check instance would get into an endless loop of:

Unable to find broker's partition in topic \"broker-replication-check\" in metadata