mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-30 18:10:44 +08:00
[ISSUE #7836] flush_behind_bytes wrong in transientStorePoolEnable not enable
This commit is contained in:
@@ -1543,7 +1543,11 @@ public class DefaultMessageStore implements MessageStore {
|
||||
}
|
||||
|
||||
public long flushBehindBytes() {
|
||||
return this.commitLog.remainHowManyDataToCommit() + this.commitLog.remainHowManyDataToFlush();
|
||||
if (this.messageStoreConfig.isTransientStorePoolEnable()) {
|
||||
return this.commitLog.remainHowManyDataToCommit() + this.commitLog.remainHowManyDataToFlush();
|
||||
} else {
|
||||
return this.commitLog.remainHowManyDataToFlush();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user