caigy commented on issue #80:
URL: 
https://github.com/apache/rocketmq-operator/issues/80#issuecomment-904321317


   The problem can be reproduced by following steps:
   1. Start a RocketMQ cluster with 2 brokers;
   2. When no subscription exists, that is, the file 
`/root/store/config/subscriptionGroup.json` in broker-0-master-0 does NOT 
exists, increase the size of cluster;
   3. The added brokers will failed to start because  
`/root/store/config/subscriptionGroup.json` contains `<nil>`, which is an 
invalid JSON string.
   
   Cause:
   When the actual size of cluster is less than the specified number, the 
broker controller will create new brokers, and copy `subscriptionGroup.json` in 
broker-0-master-0 to the added brokers. However, if that file does not exists, 
`controller/broker.exec` just returns a string "<nil>", which is copied to the 
added brokers.


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