[
https://issues.apache.org/jira/browse/HBASE-23670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Beata Sudi updated HBASE-23670:
-------------------------------
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.}}
was:
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.}}
> fix flaky TestSplitTransactionOnCluster
> ---------------------------------------
>
> Key: HBASE-23670
> URL: https://issues.apache.org/jira/browse/HBASE-23670
> Project: HBase
> Issue Type: Bug
> Reporter: Beata Sudi
> Priority: Major
>
> 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.}}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)