smallemployees opened a new issue, #7610:
URL: https://github.com/apache/rocketmq/issues/7610
   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   CentOS Linux release 7.9.2009
   
   ### RocketMQ version
   
   4.9.2
   
   ### JDK Version
   
   1.8.0
   
   ### Describe the Bug
   
   Broker Role=SLAVE and flushDiskType=ASYNC_ When both FLUSH and 
transientStorePoolEnable=true are configured simultaneously, a system busy 
request is reported
   
   ### Steps to Reproduce
   
   
org.apache.rocketmq.store.DefaultMessageStore.DefaultMessageStore(MessageStoreConfig
 messageStoreConfig, BrokerStatsManager brokerStatsManager, 
MessageArrivingListener messageArrivingListener, BrokerConfig brokerConfig) 
throws IOException
   if (messageStoreConfig.isTransientStorePoolEnable()) {
       this.transientStorePool.init();
   }
   
   boolean 
org.apache.rocketmq.store.config.MessageStoreConfig.isTransientStorePoolEnable()
   public boolean isTransientStorePoolEnable() {
       return transientStorePoolEnable && FlushDiskType.ASYNC_FLUSH == 
getFlushDiskType()
           && BrokerRole.SLAVE != getBrokerRole();
   }
   
   ### What Did You Expect to See?
   
   Can the initialization of dLeger mode remove the brokerRole
   
   ### What Did You See Instead?
   
   Removing broker Role is normal
   
   ### Additional Context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to