[ISSUE #8921] Add isWakeCommitWhenPutMessage for AIO

Co-authored-by: drizzle.zk <drizzle.zk@alibaba-inc.com>
This commit is contained in:
Drizzle
2024-11-14 19:42:25 +08:00
committed by GitHub
parent 87b97f271c
commit 60e68dadd9
@@ -2181,7 +2181,9 @@ public class CommitLog implements Swappable {
if (!CommitLog.this.defaultMessageStore.isTransientStorePoolEnable()) {
flushCommitLogService.wakeup();
} else {
commitRealTimeService.wakeup();
if (defaultMessageStore.getMessageStoreConfig().isWakeCommitWhenPutMessage()) {
commitRealTimeService.wakeup();
}
}
}
}