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

Xu Cang commented on PHOENIX-3639:
----------------------------------

Note:

PHOENIX-4229 - Parent-Child linking rows in System.Catalog break tenant view 
replication 

Is related to this. Added Parent-Child linking rows check. 

> WALEntryFilter to replicate only multi-tenant views from SYSTEM.CATALOG
> -----------------------------------------------------------------------
>
>                 Key: PHOENIX-3639
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3639
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.8.0, 4.9.0
>            Reporter: Geoffrey Jacoby
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>              Labels: replication
>             Fix For: 4.10.0
>
>         Attachments: PHOENIX-3639.patch, PHOENIX-3639.v2.patch
>
>
> As a stopgap before PHOENIX-3520, we can create an HBase WALEntryFilter to 
> filter out non-tenant rows of SYSTEM.CATALOG from replication while allowing 
> tenant-owned rows such as tenant views to proceed with replication. 
> This would have to be incorporated into a ReplicationEndpoint subclass to be 
> useful, though HBASE-17543 would make that much simpler by doing it via 
> configuration rather than code (and avoiding the need for a new peer to be 
> created).
> If PHOENIX-3520 is on the near-future roadmap, however, that would be the 
> better solution to the "replication corrupts SYSTEM.CATALOG" problem.  



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

Reply via email to