Gokul Gunasekaran created TEPHRA-227:
----------------------------------------

             Summary: DebugTool - show regions that have not yet recorded prune 
upper bound 
                 Key: TEPHRA-227
                 URL: https://issues.apache.org/jira/browse/TEPHRA-227
             Project: Tephra
          Issue Type: Improvement
    Affects Versions: 0.11.0-incubating
            Reporter: Gokul Gunasekaran
            Assignee: Poorna Chandra
             Fix For: 0.11.0-incubating


i) getIdleRegions (numRegions) --> since this method returns all the regions 
that have ever existed, this is not very useful since some regions might not be 
existing anymore. So, we need to intersect the idleregions with the latest 
TimeRegion regions.

ii) add a new method - getRegionsToBeFlushed ( ) --> that returns the regions 
that are part of the latest TimeRegion but don't have any prune upper bound 
recorded and or not empty either.

So during debugging of prune progress, first we can hit the second method and 
get the regions to be flushed/compacted (since any regions that have not 
compacted/pruned will prevent pruning from progression). After that list is 
empty, we will hit the first endpoint to find what regions are lagging, 
pruning/compacting them will help advance pruning.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to