You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by zhouxinyu <gi...@git.apache.org> on 2017/08/29 01:59:16 UTC

[GitHub] incubator-rocketmq pull request #158: [Rocketmq-281] add check policy for pr...

Github user zhouxinyu commented on a diff in the pull request:

    https://github.com/apache/incubator-rocketmq/pull/158#discussion_r135678025
  
    --- Diff: broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java ---
    @@ -257,4 +268,28 @@ public static Options buildCommandlineOptions(final Options options) {
     
             return options;
         }
    +
    +    private static void checkMQAlreadyStart(String storePathRootDir) throws IOException {
    --- End diff --
    
    What's the relation between `broker` and `store root path`? I would recommend that check whether `store` is available in `MessageStore` module, if `MessageStore` can't start properly, then exit~


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---