GitHub user kadirozde opened a pull request:

    https://github.com/apache/phoenix/pull/359

    Phoenix 4764 - Cleanup metadata of child views for a base table that has 
been dropped

    A given Phoenix table may have one or (child) views and these views may 
have their own views. So, a given table or view may have a tree of views rooted 
at this given table or view. When a table or view is deleted, its views are 
also required to be deleted. Given that there is no transaction mechanism to 
atomically delete a given table and its view, failures during deleting a table 
or view will lead to orphaned views. This patch is to make sure that all the 
child views will be dropped and will not stay around as orphan views after 
their parent is deleted.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kadirozde/phoenix PHOENIX-4764

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/phoenix/pull/359.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #359
    
----
commit cb230037a35fce89c8d9ea24a523e3ba48ece672
Author: Kadir <kozdemir@...>
Date:   2018-09-27T06:32:31Z

    Initial commit

commit 3ff6d5f1973cc42e29d0534e618c2b674ffa95ce
Author: Kadir <kozdemir@...>
Date:   2018-09-27T14:46:13Z

    Initial changes on the existing files

----


---

Reply via email to