Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.11.0-incubating
-
None
-
None
Description
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.
Attachments
Issue Links
- links to