[
https://issues.apache.org/jira/browse/LUCENE-9067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ignacio Vera resolved LUCENE-9067.
----------------------------------
Fix Version/s: 8.4
Assignee: Ignacio Vera
Resolution: Fixed
> Polygon2D#contains is not thread safe
> -------------------------------------
>
> Key: LUCENE-9067
> URL: https://issues.apache.org/jira/browse/LUCENE-9067
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Ignacio Vera
> Assignee: Ignacio Vera
> Priority: Major
> Fix For: 8.4
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> We hit the following test error:
>
> {code:java}
> ant test -Dtestcase=TestLatLonDocValuesQueries
> -Dtests.method=testAllLonEqual -Dtests.seed=E5C923927CDBBE49
> -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=tr-CY
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true
> -Dtests.file.encoding=US-ASCII{code}
>
> The problem is that Polygon2D is not thread safe but Lucene assumes that
> multiple scorers from the same weight can be consumed concurrently. I that
> case two threads accessing the contains method on the same polygon can lead
> to bad answers.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]