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

Minor compactions should also drop page cache behind reads

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 1.3.1, 2.0.0
    • Compaction
    • None

    Description

      Long compactions currently drop cache behind reads/writes so that they don't pollute the page cache but short compactions don't do that. The bulk of the data is actually read during minor compactions instead of major compactions, and thrashes the page cache since it's mostly not needed.

      We should drop page cache behind minor compactions too.

      Attachments

        1. HBASE-17057.V2.patch
          6 kB
          Ashu Pachauri
        2. HBASE-17057.V1.patch
          4 kB
          Ashu Pachauri

        Issue Links

          Activity

            People

              ashu210890 Ashu Pachauri
              ashu210890 Ashu Pachauri
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: