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

Roy Teeuwen commented on OAK-8046:
----------------------------------

[~thomasm]  [~catholicon]  we see the "Change in index version detected. Query 
would be performed without offset" logged 100.00 times per day on certain 
instances, but for me it's not clear what the action is required to fix this? 
Can we as consumer of Apache Oak (used in AEM) do anything to mitigate this log 
line of occurring? Should a reindex be triggered, or something else? 

> Result items are not always correctly counted against the configured read 
> limit if a query uses a lucene index 
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-8046
>                 URL: https://issues.apache.org/jira/browse/OAK-8046
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>    Affects Versions: 1.8.7
>            Reporter: Georg Henzler
>            Assignee: Vikas Saurabh
>            Priority: Major
>             Fix For: 1.12.0, 1.10.1, 1.8.12
>
>         Attachments: OAK-8046-take2.patch, OAK-8046.patch
>
>
> There are cases where an index is re-opened during query execution. In that 
> case, already returned entries are read again and skipped, so basically 
> counted twice. This should be fixed to only count entries once (see also [1])
> The issue most likely exists since the read limit was introduced with OAK-6875
> [1] 
> https://lists.apache.org/thread.html/dddf9834fee0bccb6e48f61ba2a01430e34fc0b464b12809f7dfe2eb@%3Coak-dev.jackrabbit.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to