mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-28 20:09:14 +08:00
This commit is contained in:
@@ -1792,9 +1792,7 @@ public class CommitLog implements Swappable {
|
||||
synchronized (this.requestsWrite) {
|
||||
this.requestsWrite.add(request);
|
||||
}
|
||||
if (hasNotified.compareAndSet(false, true)) {
|
||||
waitPoint.countDown(); // notify
|
||||
}
|
||||
this.wakeup();
|
||||
boolean flag = this.requestsWrite.size() >
|
||||
CommitLog.this.defaultMessageStore.getMessageStoreConfig().getMaxAsyncPutMessageRequests();
|
||||
if (flag) {
|
||||
|
||||
Reference in New Issue
Block a user