[
https://issues.apache.org/jira/browse/PHOENIX-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas D'Silva updated PHOENIX-4764:
------------------------------------
Description:
Add a new SYSTEM.TASK table that is used to keep track of tables which have
been dropped but whose child view metadata hasn' been deleted yet.
Add a scheduled task that queries this table periodically and drops the child
view metadata.
was:
When we drop a base table, we no longer drop all the child view metadata.
Clean up the child view metadata during compaction.
If we try to recreate a base table that was previously dropped but whose child
view metadata wasn't cleaned up throw an exception. Add a test for this.
> Cleanup metadata of child views for a base table that has been dropped
> ----------------------------------------------------------------------
>
> Key: PHOENIX-4764
> URL: https://issues.apache.org/jira/browse/PHOENIX-4764
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Thomas D'Silva
> Assignee: Kadir OZDEMIR
> Priority: Blocker
> Fix For: 4.15.0, 5.1.0
>
> Attachments:
> 0001-PHOENIX-4764-Revised-fix-based-on-the-review-comment.patch,
> PHOENIX-4764.4.x-HBase-1.4.0001.patch, PHOENIX-4764.4.x-HBase-1.4.0002.patch,
> PHOENIX-4764.4.x-HBase-1.4.0003.patch, PHOENIX-4764.4.x-HBase-1.4.0004.patch,
> PHOENIX-4764.4.x-HBase-1.4.0005.patch, PHOENIX-4764.master.0001.patch,
> PHOENIX-4764.master.0002.patch, PHOENIX-4764.master.0003.patch,
> PHOENIX-4764.master.0003.patch, PHOENIX-4764.master.0004.patch,
> PHOENIX-4764.master.0005.patch, PHOENIX-4764.master.0006.patch
>
>
> Add a new SYSTEM.TASK table that is used to keep track of tables which have
> been dropped but whose child view metadata hasn' been deleted yet.
> Add a scheduled task that queries this table periodically and drops the child
> view metadata.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)