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

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

Commit b918ee8fe69a5cb0323ca8a842149fde55e09411 in lucene-solr's branch 
refs/heads/branch_7x from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b918ee8 ]

LUCENE-8334: Ensure SR#getSementInfo() returns snapshot

The SegmentCommitInfo passed to the segment reader is mutated concurrently.
An instance obtained from SR#getSegmentInfo() might return wrong delete counts
or generation ids. This ensures that the SR will use a clone internally while 
stil
maintaining the original SI since it's needed inside IW for maintainance like
accessing pooled readers etc.


> Ensure SR#getSementInfo() returns snapshot
> ------------------------------------------
>
>                 Key: LUCENE-8334
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8334
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 7.4, master (8.0)
>            Reporter: Simon Willnauer
>            Priority: Major
>             Fix For: 7.4, master (8.0)
>
>         Attachments: LUCENE-8334.patch, LUCENE-8334.patch
>
>
>  The SegmentCommitInfo passed to the segment reader is mutated concurrently.
>     An instance obtained from SR#getSegmentInfo() might return wrong delete 
> counts
>     or generation ids. This ensures that the SR will use a clone internally 
> while stil
>     maintaining the original SI since it's needed inside IW for maintainance 
> like
>     accessing pooled readers etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to