This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 745bd22d2 [ISSUE #5278]Modify
MessageStoreConfig#isTransientStorePoolEnable method comment document (#5284)
745bd22d2 is described below
commit 745bd22d2a0a8efd90d60c236810abbbd3a48adb
Author: mxsm <[email protected]>
AuthorDate: Wed Oct 12 14:35:24 2022 +0800
[ISSUE #5278]Modify MessageStoreConfig#isTransientStorePoolEnable method
comment document (#5284)
---
.../java/org/apache/rocketmq/store/config/MessageStoreConfig.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java
b/store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java
index 11b11d851..554389e79 100644
---
a/store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java
+++
b/store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java
@@ -879,9 +879,7 @@ public class MessageStoreConfig {
}
/**
- * Enable transient commitLog store pool only if transientStorePoolEnable
is true and the FlushDiskType is
- * ASYNC_FLUSH
- *
+ * Enable transient commitLog store pool only if transientStorePoolEnable
is true and broker role is not SLAVE
* @return <tt>true</tt> or <tt>false</tt>
*/
public boolean isTransientStorePoolEnable() {