提交 b3384d28 编写于 作者: H huzongtang

[issue#1164]Consumer Instance can't consume message from slave when the TPS of...

[issue#1164]Consumer Instance can't consume message from slave when the TPS of cluster is in the high level and master has been killed.
上级 929c76c6
......@@ -1864,10 +1864,12 @@ public class DefaultMessageStore implements MessageStore {
this.reputFromOffset += size;
} else {
doNext = false;
log.error("[BUG]dispatch message to consume queue error, COMMITLOG OFFSET: {}",
this.reputFromOffset);
if (DefaultMessageStore.this.getMessageStoreConfig().isEnableDLegerCommitLog()) {
log.error("[BUG]dispatch message to consume queue error, COMMITLOG OFFSET: {}",
this.reputFromOffset);
this.reputFromOffset += result.getSize() - readSize;
this.reputFromOffset += result.getSize() - readSize;
}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册