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

Improve the comments and test coverage for compaction progress implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.6.0, 2.5.1, 3.0.0-alpha-4
    • Compaction
    • None

    Description

      When fixing HBASE-26938, we also found the root cause that why sometimes we will get broken compaction progress value, i.e, a negative or more than 100%, it is because multiple compaction can happen at the same time but only use one compaction prorgress, which is not thread safe to track them all.

      We have fixed this problem in HBASE-26938, but it is suggested to improve the test coverage of this ares so we will not make a mistake in the future again.

      Attachments

        Activity

          People

            apurtell Andrew Kyle Purtell
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: