Jason918 commented on pull request #3357:
URL: https://github.com/apache/rocketmq/pull/3357#issuecomment-925529140


   > If we add a cloud disk to the running ecs, can the new cloud disk be 
recognized by updating broker.conf dynamically?
   
   Yes, It should work. You can add path after `storePathCommitLog`. 
   But, one thing to be noticed, if your server is started with only one commit 
log path, you have to restart the server to change it to multi-path-commit-log 
mode. Because `mappedFileQueue` in class `Commitlog` is initialized during 
start up.
   One way to avoid this restart is to add a 
`MessageStoreConfig#MULTI_PATH_SPLITTER`(default is ',' and can be changed by 
system property "rocketmq.broker.multiPathSplitter") after origin single 
storePathCommitLog, e.g. "~/store/commitlog,".


-- 
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