You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/02/22 11:05:18 UTC

[jira] [Updated] (OAK-3069) Provide option to eagerly copy the new index files in CopyOnRead

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

Chetan Mehrotra updated OAK-3069:
---------------------------------
    Labels:   (was: docs-impacting)

> Provide option to eagerly copy the new index files in CopyOnRead
> ----------------------------------------------------------------
>
>                 Key: OAK-3069
>                 URL: https://issues.apache.org/jira/browse/OAK-3069
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.2.3, 1.3.3, 1.0.17
>
>         Attachments: OAK-3069+logs-v2.patch, OAK-3069+logs.patch, OAK-3069.patch
>
>
> Currently the CopyOnRead feature lazily starts copying the index files upon first access. This at times does not work efficiently because the index gets updated frequently and hence by the time copy is done index would have moved on. Due to this most of the index read turn out to be remote reads and cause slowness
> We should provide an option on per index basis to enable copying the files eagerly before exposing the new index to the query engine such that any read done is done locally



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