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
Shielding abnormal broker should not be limited to IOException, any exception in the writing process should be managed.
For example, modify writing path permission which will affect data writing directly.
Shielding abnormal broker should not be limited to IOException, any exception in the writing process should be managed. For example, modify writing path permission which will affect data writing directly.
https://github.com/Tencent/TubeMQ/blob/master/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStore.java
catch (final IOException e) { ServiceStatusHolder.addWriteIOErrCnt(); logger.error("[File Store] Append message in file failed ", e); throw e; }