You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Geoffrey Jacoby (JIRA)" <ji...@apache.org> on 2017/02/07 21:16:41 UTC

[jira] [Updated] (PHOENIX-3639) WALEntryFilter to block System.Catalog replication

     [ https://issues.apache.org/jira/browse/PHOENIX-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey Jacoby updated PHOENIX-3639:
-------------------------------------
    Attachment: PHOENIX-3639.patch

Patch attached. I had to use a WALEntryFilter rather than a WALCellFilter, which would have been slightly cleaner, because WALCellFilters were introduced in HBase 1.3 and trunk is running against 1.2. This can be revisited in the future when 1.3 or above is the minimum supported version. 

> WALEntryFilter to block System.Catalog replication
> --------------------------------------------------
>
>                 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
>         Attachments: PHOENIX-3639.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
(v6.3.15#6346)