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

Alex Parvulescu updated OAK-2749:
---------------------------------
    Attachment: OAK-2749-v4.diff

attaching v4.
the patch now includes the registration of a new index task via the 
_IndexStatsMBean_. no option to unregister it yet, but at least it's working. 
the downside is that I have to pass in the _whiteboard_ to the AsyncIndexer, 
I'm not sure if this is a problem or not.

I refactored the logs from the AsyncIndexer to include the task name, I think 
this was a needed change since we are planing to add support for more 
background tasks.

> 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: Alex Parvulescu
>             Fix For: 1.3.0
>
>         Attachments: OAK-2749-rc1.diff, OAK-2749-rc2.diff, OAK-2749-v3.diff, 
> OAK-2749-v4.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