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

Davide Giannella commented on OAK-2749:
---------------------------------------

[~chetanm]
{quote}
However make enabling this configurable as otherwise it would unnecessary 
perform a diff even if no index is assigned to it. So have it configurable and 
leave it to class initializing Oak to configure this mode
{quote}

your comment had me thinking and in (0) I tentatively added a logic
which will skip all the {{AscynIndexUpdate}} steps including checkins
if no suitable index definitions has been found.

(0) 
https://github.com/davidegiannella/jackrabbit-oak/commit/3451e2509fbb82dc800a075f97059615e3854b76

Could you please have a look. It's not fully convincing me and
probably we should consider only the definitions that matches the
provided {{IndexEditorProvider}}s. It takes inspiration from
{{IndexUpdate.collectIndexEditors()}}.





> Provide a "different lane" for slow indexers in async indexing
> --------------------------------------------------------------
>
>                 Key: OAK-2749
>                 URL: https://issues.apache.org/jira/browse/OAK-2749
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Davide Giannella
>            Assignee: Davide Giannella
>             Fix For: 1.3.0
>
>         Attachments: OAK-2749-rc1.diff, OAK-2749-rc2.diff
>
>
> In case of big repositories, asynchronous index like Lucene Property,
> could lag behind as slow indexes, for example Full Text, are taken
> care in the same thread pool.
> Provide a separate thread pool in which such indexes could be
> registered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to