Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3289

EvictOnClose should be disabled when closing parent of split

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • io, regionserver
    • None

    Description

      EvictOnClose is now on by default. It doesn't make sense to evictOnClose when we close the parent files during a split. In that case, we will always open the files back up with Half readers on the same server immediately after closing them.

      Since we will do full reads of these files when we compact on the other side of the split, we should not evict the blocks when we close the initial parent.

      When both daughters of the original parent files have closed those files, then they should be evicted. This part is a bit tricky.

      Attachments

        Activity

          People

            Unassigned Unassigned
            streamy Jonathan Gray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: