[
https://issues.apache.org/jira/browse/PHOENIX-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861763#comment-16861763
]
Lars Hofhansl commented on PHOENIX-5336:
----------------------------------------
Just this... Wait the daughter regions to be created, but don't wait until the
parent region has been removed.
> Speed up MutableIndexSplitForwardScanIT and MutableIndexSplitReverseScanIT
> --------------------------------------------------------------------------
>
> Key: PHOENIX-5336
> URL: https://issues.apache.org/jira/browse/PHOENIX-5336
> Project: Phoenix
> Issue Type: Sub-task
> Affects Versions: 4.15.0, 5.1.0
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Priority: Major
> Attachments: 5336.txt
>
>
> I observed that these tests are slow because we wait after the split until
> the parent has been compacted away. It's not necessary to do so (unless we
> wanted to test that specific HBase logic and HBase already has many tests for
> that). We can change the test to only wait until the daughter regions are
> created. When they exist they will be used.
> Avoiding that waiting cuts the runtime of each test from 17mins to 2min (on
> my machine) so it saves at least 30mins of runtime (and more on the slower
> jenkins machines)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)