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

ASF GitHub Bot commented on PHOENIX-4764:
-----------------------------------------

Github user karanmehta93 commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/399#discussion_r229417331
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/TaskRegionObserver.java
 ---
    @@ -71,6 +71,11 @@
         @GuardedBy("TaskRegionObserver.class")
         // initial delay before the first task is handled
         private static final long  initialDelay = 10000; // 10 secs
    +    private static boolean disableTaskHandling = false;
    --- End diff --
    
    You still have the `initialDelay` parameter, you could leverage it by 
exposing out as you did earlier and set it to `Integer.MAX_VALUE`. That 
approach is followed for the other rebuilder thread task. 
    OR
    expose a parameter out that disables the complete framework, not just for 
test purposes. You could use set that parameter to false in tests, defaults to 
true.


> 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: Major
>             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.master.0001.patch, PHOENIX-4764.master.0002.patch, 
> PHOENIX-4764.master.0003.patch, PHOENIX-4764.master.0003.patch
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to