You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "Guocheng Zhang (Jira)" <ji...@apache.org> on 2020/06/01 02:50:00 UTC

[jira] [Commented] (TUBEMQ-166) Hide `bdbStore` configs in master.ini

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

Guocheng Zhang commented on TUBEMQ-166:
---------------------------------------

Besides, I would do the following:

[bdbStore] section and all inner configs are still supported, but will be ignored when [replication] exists.
Print a warning in master.log about "deprecated blah blah" while [bdbStore] is using.

-------------------------------------------------------

(y)Very comprehensive


> Hide `bdbStore` configs in master.ini
> -------------------------------------
>
>                 Key: TUBEMQ-166
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-166
>             Project: Apache TubeMQ
>          Issue Type: Improvement
>            Reporter: Ping Yu
>            Assignee: Ping Yu
>            Priority: Major
>             Fix For: 0.5.0
>
>
> I was quit confused when I saw the `[bdbStore]` section in `master.ini`.
> After read some codes and intro of "Oracle Berkeley DB Java Edition", I realized that `bdbStore` is the embedded database, used for meta data storage, and replication between masters. (Am I right ?)
> I suggest that hiding `bdbStore` configs in `master.ini`, as `bdb` is an implementation detail, better not to bother users.
> Necessary configs for `bdbStore` can be renamed to another ones, to be more reasonable.
> E.g. `bdbNodePort` rename to `replicationPort` in `[master]` section.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)