You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "Roman Shtykh (JIRA)" <ji...@apache.org> on 2017/03/09 03:01:38 UTC

[jira] [Created] (ROCKETMQ-135) Broker cannot be properly finalized on failure to load a storage plugin

Roman Shtykh created ROCKETMQ-135:
-------------------------------------

             Summary: Broker cannot be properly finalized on failure to load a storage plugin
                 Key: ROCKETMQ-135
                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-135
             Project: Apache RocketMQ
          Issue Type: Bug
          Components: rocketmq-broker
            Reporter: Roman Shtykh
            Assignee: Roman Shtykh


When a storage plugin fails ( {{org.apache.rocketmq.broker.plugin.MessageStoreFactory#build}} ), it terminates the broker without proper finalization.
This is because {{RuntimeException}} is thrown by the above-mentioned method and it is never properly handled.

I propose creating a {{BrokerException}}, throw it and properly handle.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)