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

fix flaky TestSplitTransactionOnCluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      testShutDownFixupWhenDaughterHasSplit is flaky. 

      I had a look at it, it fails because the compaction isn't ready when the assertion is called. The function HRegion.compact() has a comment that it can block for a long time, do not use it for a time-sensitive thread. 

       

      edit: also found a weird debug message, it can also be a problem: 
      compactions.SortedCompactionPolicy(231): Not compacting files because we only have 0 files ready for compaction. Need 3 to initiate.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bea0113 Beata Sudi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: