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
    • 3.0.0-beta-2, 2.6.1, 2.5.9
    • 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

            Unassigned Unassigned
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: