[ 
https://issues.apache.org/jira/browse/LUCENE-10134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424219#comment-17424219
 ] 

ASF subversion and git services commented on LUCENE-10134:
----------------------------------------------------------

Commit 2d2e7179bc8e3e68de15096f9fa7d23c90bfa6f8 in lucene-solr's branch 
refs/heads/branch_8x from Greg Miller
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=2d2e717 ]

LUCENE-10134: ConcurrentSortedSetDocValuesFacetCounts shouldn't share liveDocs 
Bits across threads (#2587)



> TestSortedSetDocValuesFacets fails with Bits shared between threads
> -------------------------------------------------------------------
>
>                 Key: LUCENE-10134
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10134
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>            Reporter: Dawid Weiss
>            Priority: Minor
>             Fix For: main (9.0)
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Repro:
> {code}
> gradlew -p lucene\facet test -Ptests.seed=5E8A2F2BBCCBDF1B
> {code}
> {code}
> 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)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to