mirror of
https://github.com/apache/rocketmq.git
synced 2026-10-29 17:25:35 +08:00
[#1568] rocketmq need enhance stability when commitlog broken
增加非空判断,防止空指针异常,导致循环事务 check,增加test覆盖,修复编码格式
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ public class TransactionalMessageBridge {
|
||||
this.brokerController.getBrokerStatsManager().incGroupGetSize(group, topic,
|
||||
getMessageResult.getBufferTotalSize());
|
||||
this.brokerController.getBrokerStatsManager().incBrokerGetNums(getMessageResult.getMessageCount());
|
||||
if ( foundList == null || foundList.size() == 0 ) {
|
||||
if (foundList == null || foundList.size() == 0) {
|
||||
break;
|
||||
}
|
||||
this.brokerController.getBrokerStatsManager().recordDiskFallBehindTime(group, topic, queueId,
|
||||
|
||||
Reference in New Issue
Block a user