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

Adrien Grand commented on LUCENE-8295:
--------------------------------------

It will remove calls to liveDocsShared() indeed, but it seems to me that these 
calls are unnecessary, on the contrary to other calls to liveDocsShared() such 
as in getReaderForMerge().

> Remove ReadersAndUpdates.liveDocsSharedPending
> ----------------------------------------------
>
>                 Key: LUCENE-8295
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8295
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-8295.patch
>
>
> I have been trying to undersdand PendingDeletes and ReadersAndUpdates, and it 
> looks to me that the liveDocsSharedPending flag doesn't buy anything. I ran 
> tests 10 times after removing it and got no failures.



--
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