Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-227

DebugTool - show regions that have not yet recorded prune upper bound

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0-incubating
    • 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

          Activity

            People

              gokulavasan Gokul Gunasekaran
              gokulavasan Gokul Gunasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: