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

[jira] [Commented] (ROCKETMQ-27) Add storage partition online

    [ https://issues.apache.org/jira/browse/ROCKETMQ-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15800936#comment-15800936 ] 

ASF GitHub Bot commented on ROCKETMQ-27:
----------------------------------------

GitHub user lizhanhui opened a pull request:

    https://github.com/apache/incubator-rocketmq/pull/28

    [ROCKETMQ-27]Add store commitlog path online

    RocketMQ broker stores all messages before they are expired, which requires pretty much storage for a high load system. For now, the message store can be configured to use only one partition. Quite often, we find broker runs out of storage as business expands quickly. Online resizing a partition most of time is not possible(with absence of LVM) whilst attaching a new disk/partition in cloud environment is super easy.
    It would be nice for RocketMQ to be capable of adding extra commit log store path online, allocating commit log files onto partitions based on free/available space.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lizhanhui/incubator-rocketmq add_store_commitlog_path_online

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rocketmq/pull/28.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #28
    
----
commit c6d078e01941e2ab6e38c57855403e961359ed82
Author: Zhanhui Li <li...@apache.org>
Date:   2017-01-05T03:54:01Z

    not yet persist commit log store path

commit 83c97849f7a06ff3c249824beb06bae543a7d6ec
Author: Zhanhui Li <li...@apache.org>
Date:   2017-01-05T04:57:20Z

    Persist commit log store path after changing.

commit 21accafca95e69eba372fc6ed85fd87d583e870f
Author: Zhanhui Li <li...@apache.org>
Date:   2017-01-05T06:32:48Z

    Fix code style.

commit c06de73239d377c187bff4cd6f152227c96eb011
Author: Zhanhui Li <li...@apache.org>
Date:   2017-01-05T06:37:32Z

    Fix code style.

commit aedfc0d8d62b9b39a49a4e5a14ae6dc77297fc3f
Author: Zhanhui Li <li...@apache.org>
Date:   2017-01-05T07:35:02Z

    Add command to mqadmin

----


> Add storage partition online
> ----------------------------
>
>                 Key: ROCKETMQ-27
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-27
>             Project: Apache RocketMQ
>          Issue Type: New Feature
>          Components: rocketmq-store, rocketmq-tools
>    Affects Versions: 4.1.0-incubating
>            Reporter: Zhanhui Li
>            Assignee: yukon
>
> RocketMQ broker stores all messages before they are expired, which requires pretty much storage for a high load system. For now, the message store can be configured to use only one partition. Quite often, we find broker runs out of storage as business expands quickly. Online resizing a partition most of time is not possible(with absence of LVM) whilst attaching a new disk/partition in cloud environment is super easy. 
> It would be nice for RocketMQ to be capable of adding extra commit log store path online, allocating commit log files onto partitions based on free/available space. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)