jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-4024) CoW uses incorrect directory on re-indexing when indexPath property is used
Date Thu, 10 Mar 2016 11:20:42 GMT

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

Davide Giannella closed OAK-4024.
---------------------------------

Bulk close for 1.4.0

> CoW uses incorrect directory on re-indexing when indexPath property is used
> ---------------------------------------------------------------------------
>
>                 Key: OAK-4024
>                 URL: https://issues.apache.org/jira/browse/OAK-4024
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Chetan Mehrotra
>              Labels: candidate_oak_1_0, candidate_oak_1_2
>             Fix For: 1.4, 1.4.0
>
>         Attachments: OAK-4024-v2.patch, OAK-4024.patch
>
>
> CoW prepares local dir using "reindexCount" from definition builder. BUT, while re-indexing,
at the time of construction of {{LuceneIndexEditorContext}}, the builder still has *non*-incremented
reindexCount ({{IndexUpdate#collectIndexEditors}}) thereby updating the already existing directory.
> On windows, this often leads to deletion inside lucene to fail thereby failing re-index
and leading to reindex loop -- this can be worked around by disabling CoW temporarily.
> That being said, this might be able to corrupt locally copied index.



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

Mime
View raw message