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

Use table dir modtime to avoid scanning table dir to check cached table descriptor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      As described in HBASE-8778, anything that needs to read table descriptors (such as region assignments) currently results in a table directory scan which is slow on tables with many regions. HBASE-8778 moved the table descriptors to a subdir for 0.96+. For 0.94 a smaller change that is safe with rolling restarts is to cache the directory modtime and use the cached table descriptor if the directory modtime has not changed since a table descriptor change always changes the directory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davelatham Dave Latham
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: