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

region_mover#isSuccessfulScan may be extremely slow on region with lots of expired data

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0, 0.98.11, 1.0.2, 2.0.0
    • scripts
    • None
    • Reviewed

    Description

      region_mover will call isSuccessfulScan when region has moved to make sure it's healthy, however , if the moved region has lots of expired data region_mover#isSuccessfulScan will take a long time to finish ,that may even exceed "lease timeout".So I made isSuccessfulScan a get-like scan to achieve faster response in that case.

      workaround:before graceful_stop/rolling_restart ,call major_compact on the table with small TTL

      Attachments

        1. HBASE-12957-v0.patch
          1 kB
          hongyu bi

        Activity

          People

            hongyu.bi hongyu bi
            hongyu.bi hongyu bi
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: