[
https://issues.apache.org/jira/browse/PHOENIX-4360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258234#comment-16258234
]
Samarth Jain commented on PHOENIX-4360:
---------------------------------------
bq. We can have test, but it we'd just test that HBase doesn't split when told
not to split. (and we have tests for that in HBase).
Still worth a test, IMHO. The test should exercise the code path you added. How
else can we guarantee users that SYSTEM.CATALOG won't split unless we have a
test that proves the same :).
> Prevent System.Catalog from splitting
> -------------------------------------
>
> Key: PHOENIX-4360
> URL: https://issues.apache.org/jira/browse/PHOENIX-4360
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.13.0
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Priority: Blocker
> Fix For: 4.14.0
>
> Attachments: 4360.txt
>
>
> Just talked to [~jamestaylor].
> It turns out that currently System.Catalog is not prevented from splitting
> generally, but does not allow splitting within a schema.
> In the multi-tenant case that is not good enough. When System.Catalog splits
> and a base table and view end up in different regions the following can
> happen:
> * DROP CASCADE no longer works for those views
> * Adding/removing columns to/from the base table no longer works
> Until PHOENIX-3534 is done we should simply prevent System.Catalog from
> splitting. (just like HBase:meta)
> [~apurtell]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)