Tencent / TubeMQ

TubeMQ has been donated to the Apache Software Foundation and renamed to InLong, please visit the new Apache repository: https://github.com/apache/incubator-inlong
https://inlong.apache.org/
2.02k stars 388 forks source link

If the broker was blocked, it can't be restored to the disabled state after restarting the master. #145

Closed Libeibei1990 closed 4 years ago

gosonzhang commented 4 years ago

Thanks,I‘ll check it

gosonzhang commented 4 years ago

Master encountered some problems while processing Broker's disk IO exception report: if Master restarts and memory data is lost, related information will be lost and will not be recovered; then, if the number of failed Brokers exceeds the number allowed by the blocking policy , They will not be blocked all, but unblocked Brokers do not mean that there are no exceptions, these Brokers should be queried in some places

I will solve these problems, thanks


分析了下,Master在处理Broker上报磁盘IO异常时存在一些问题:如果Master重启,内存数据丢失时,相关的信息就丢失没有恢复;然后,如果故障Broker个数多于屏蔽策略允许个数时,多出部分将不会被屏蔽,但不屏蔽不表示没有异常,应该有地方来查询这批Broker

我将修复这些问题,谢谢