You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Heng Chen (JIRA)" <ji...@apache.org> on 2015/10/28 08:30:27 UTC
[jira] [Commented] (HBASE-11393) Replication TableCfs should be a
PB object rather than a string
[ https://issues.apache.org/jira/browse/HBASE-11393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977900#comment-14977900 ]
Heng Chen commented on HBASE-11393:
-----------------------------------
For backward compatibility, should we add a new interface something like
{code}
void addPeer(String peerId, ReplicationPeerConfig peerConfig, TableCfsProto.TableCfs tableCFs)
throws ReplicationException;
{code}
Or we just modify the original interface?
> Replication TableCfs should be a PB object rather than a string
> ---------------------------------------------------------------
>
> Key: HBASE-11393
> URL: https://issues.apache.org/jira/browse/HBASE-11393
> Project: HBase
> Issue Type: Sub-task
> Reporter: Enis Soztutar
> Fix For: 2.0.0
>
>
> We concatenate the list of tables and column families in format "table1:cf1,cf2;table2:cfA,cfB" in zookeeper for table-cf to replication peer mapping.
> This results in ugly parsing code. We should do this a PB object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)