riki-wang opened a new issue, #5714:
URL: https://github.com/apache/rocketmq/issues/5714

   1. Problem
       
Broker在开启自动故障转移模式下,同时设置transientStorePoolEnable=true与brokerRole=SLAVE的情况下会引起客户端产生"system
 busy"异常
       <img width="1482" alt="image" 
src="https://user-images.githubusercontent.com/23468936/208053095-799d65d3-04c1-466a-a766-6011ca4ada43.png";>
   
   
   2. Environment
       - Centos 7.9
       - CPU: 4 core
       - Memory: 16GB
       - RocketMQ Version: 5.0
       - Broker config
          - broker-c-1.conf
             ```
               brokerClusterName=DC
               brokerName=broker-c
               brokerId=-1
               deleteWhen=04
               fileReservedTime=48
               **brokerRole=SLAVE**
               flushDiskType=ASYNC_FLUSH
   
               enableControllerMode = true
               controllerAddr = 127.0.0.1:59878
               #allAckInSyncStateSet = true
               namesrvAddr=127.0.0.1:9876
               
               listenPort=58922
               storePathRootDir=/data/rocketmq/master/store
               storePathIndex=/data/rocketmq/master/store/index
               storeCheckpoint=/data/rocketmq/master/store/checkpoint
               abortFile=/data/rocketmq/master/store/abort
               storePathCommitLog=/data/rocketmq/master/store/commitlog
               storePathConsumerQueue=/data/rocketmq/master/store/consumequeue
               storePathEpochFile=/data/rocketmq/master/store/storePathEpochFile
               
               **transientStorePoolEnable=true**
               transientStorePoolSize=2`
             ```
          - broker-c-2.conf
             ```
             brokerClusterName=DC
             brokerName=broker-c
             brokerId=-1
             deleteWhen=04
             fileReservedTime=48
             **brokerRole=SLAVE**
             flushDiskType=ASYNC_FLUSH
       
             enableControllerMode = true
             controllerAddr = 127.0.0.1:59878
             allAckInSyncStateSet = true
             namesrvAddr=127.0.0.1:9876
       
             listenPort=59922
             storePathRootDir=/data/rocketmq/slave/store
             storePathIndex=/data/rocketmq/slave/store/index
             storeCheckpoint=/data/rocketmq/slave/store/checkpoint
             abortFile=/data/rocketmq/slave/store/abort
             storePathCommitLog=/data/rocketmq/slave/store/commitlog
             storePathConsumerQueue=/data/rocketmq/slave/store/consumequeue
             storePathEpochFile=/data/rocketmq/slave/store/storePathEpochFile
       
             **transientStorePoolEnable=true**
             transientStorePoolSize=2
             ```
           - contoller.conf
              ```
               controllerDLegerGroup = group2
               controllerDLegerPeers = n0-10.110.150.69:59878
               controllerDLegerSelfId = n0
                controllerStorePath=/data/rocketmq/controller
              ```
       
   3. Steps to reproduce
       - start namesrv
           `nohup bin/mqnamesrv &`
       - start controller
          `nohup bin/mqcontroller -c conf/controller.conf`
       - start broker
          - `nohup bin/mqbroker -c conf/broker-c-1.conf &`
          - `nohup bin/mqbroker -c conf/broker-c-2.conf &`
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to