Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New
Description
Repro:
gradlew -p lucene\facet test -Ptests.seed=5E8A2F2BBCCBDF1B
org.apache.lucene.facet.sortedset.TestSortedSetDocValuesFacets > testCountAll FAILED java.lang.AssertionError: Bits are only supposed to be consumed in the thread in which they have been acquired. But was acquired in Thread[TEST-TestSortedSetDocValuesFacets.testCountAll-seed#[5E8A2F2BBCCBDF1B],5,TGRP-TestSortedSetDocValuesFacets] and consumed in Thread[TestIndexSearcher-2-thread-1,5,TGRP-TestSortedSetDocValuesFacets]. at __randomizedtesting.SeedInfo.seed([5E8A2F2BBCCBDF1B:FFB0A39BEF474EA3]:0) at org.apache.lucene.index.AssertingLeafReader.assertThread(AssertingLeafReader.java:43) at org.apache.lucene.index.AssertingLeafReader$AssertingBits.get(AssertingLeafReader.java:1374) at org.apache.lucene.facet.FacetUtils$1.doNext(FacetUtils.java:62) at org.apache.lucene.facet.FacetUtils$1.nextDoc(FacetUtils.java:70) at org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts$CountOneSegment.call(ConcurrentSortedSetDocValuesFacetCounts.java:260) at org.apache.lucene.facet.sortedset.ConcurrentSortedSetDocValuesFacetCounts$CountOneSegment.call(ConcurrentSortedSetDocValuesFacetCounts.java:159) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:832)