[
https://issues.apache.org/jira/browse/PHOENIX-8099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kyle Purtell updated PHOENIX-8099:
-----------------------------------------
Description:
{{PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild}} fails:
{{Tests run: 21, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 186.7 s <<<
FAILURE! – in org.apache.phoenix.end2end.index.PartialIndexRebuilderIT}}
{{org.apache.phoenix.end2end.index.PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild
– Time elapsed: 30.96 s <<< FAILURE!}}
{{java.lang.AssertionError: Expected equality for V1, but null!=0}}
{{at org.junit.Assert.fail(Assert.java:89)}}
{{at org.junit.Assert.assertTrue(Assert.java:42)}}
{{at
org.apache.phoenix.util.IndexScrutiny.scrutinizeIndex(IndexScrutiny.java:173)}}
{{at
org.apache.phoenix.end2end.index.PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild(PartialIndexRebuilderIT.java:249)}}
The test uses the old index design. It sets
{{{}phoenix.index.region.observer.enabled=false{}}}, so writes go through the
{{Indexer}} coprocessor and the partial index rebuilder. {{GlobalIndexChecker}}
is not used. Five writer threads run {{{}mutateRandomly{}}}. This method
upserts rows and also runs {{DELETE FROM ... WHERE k1=<pk> AND k2=0}} on the
same rows.
This is a defect in the old index write path. Since this is deprecated and
really should be removed, the fix here is to disable the test.
was:
{{PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild}} fails:
{{Tests run: 21, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 186.7 s <<<
FAILURE! -- in org.apache.phoenix.end2end.index.PartialIndexRebuilderIT
org.apache.phoenix.end2end.index.PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild
-- Time elapsed: 30.96 s <<< FAILURE!
java.lang.AssertionError: Expected equality for V1, but null!=0
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at
org.apache.phoenix.util.IndexScrutiny.scrutinizeIndex(IndexScrutiny.java:173)
at
org.apache.phoenix.end2end.index.PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild(PartialIndexRebuilderIT.java:249)}}
The test uses the old index design. It sets
{{{}phoenix.index.region.observer.enabled=false{}}}, so writes go through the
{{Indexer}} coprocessor and the partial index rebuilder. {{GlobalIndexChecker}}
is not used. Five writer threads run {{{}mutateRandomly{}}}. This method
upserts rows and also runs {{DELETE FROM ... WHERE k1=<pk> AND k2=0}} on the
same rows.
This is a defect in the old index write path. Since this is deprecated and
really should be removed, the fix here is to disable the test.
> Disable PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild
> ----------------------------------------------------------------
>
> Key: PHOENIX-8099
> URL: https://issues.apache.org/jira/browse/PHOENIX-8099
> Project: Phoenix
> Issue Type: Test
> Components: test
> Affects Versions: 5.3.2
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Minor
> Fix For: 5.4.0, 5.3.3
>
>
> {{PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild}} fails:
> {{Tests run: 21, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 186.7 s
> <<< FAILURE! – in org.apache.phoenix.end2end.index.PartialIndexRebuilderIT}}
> {{org.apache.phoenix.end2end.index.PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild
> – Time elapsed: 30.96 s <<< FAILURE!}}
> {{java.lang.AssertionError: Expected equality for V1, but null!=0}}
> {{at org.junit.Assert.fail(Assert.java:89)}}
> {{at org.junit.Assert.assertTrue(Assert.java:42)}}
> {{at
> org.apache.phoenix.util.IndexScrutiny.scrutinizeIndex(IndexScrutiny.java:173)}}
> {{at
> org.apache.phoenix.end2end.index.PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild(PartialIndexRebuilderIT.java:249)}}
> The test uses the old index design. It sets
> {{{}phoenix.index.region.observer.enabled=false{}}}, so writes go through the
> {{Indexer}} coprocessor and the partial index rebuilder.
> {{GlobalIndexChecker}} is not used. Five writer threads run
> {{{}mutateRandomly{}}}. This method upserts rows and also runs {{DELETE FROM
> ... WHERE k1=<pk> AND k2=0}} on the same rows.
> This is a defect in the old index write path. Since this is deprecated and
> really should be removed, the fix here is to disable the test.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)