jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3069) Provide option to eagerly copy the new index files in CopyOnRead
Date Thu, 02 Jul 2015 19:11:04 GMT

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

Alex Parvulescu commented on OAK-3069:

another one:
Copied 0 files totaling 0 B [took 4ms]
I only log if files > 0.

> 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

View raw message