[ 
https://issues.apache.org/jira/browse/OAK-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Parvulescu updated OAK-1292:
---------------------------------

    Attachment: callback-v2.patch

thanks for the feedback Jukka!

I've included all the changes and attached v2 of the patch. 
I'm running the tests now, if it all goes well, I'm going to commit the patch.

> Avoid async indexer commits when there are no changes to index
> --------------------------------------------------------------
>
>                 Key: OAK-1292
>                 URL: https://issues.apache.org/jira/browse/OAK-1292
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Alex Parvulescu
>             Fix For: 0.15
>
>         Attachments: callback-v2.patch, callback.patch
>
>
> Currently, since OAK-980 (and OAK-1246), the asynchronous indexer makes two 
> commits per invocation regardless of whether there are any changes to the 
> indexed content. This can be a bit confusing and in some cases even 
> troublesome especially in a mostly read-only deployments where the frequent 
> extra commits just add unnecessary noise.
> It would be better if the async indexer only made commits when there actually 
> are content changes to be indexed.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to