[
https://issues.apache.org/jira/browse/OAK-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting reopened OAK-1684:
--------------------------------
I notice that the (temporary?) r1585476 is not merged to the 1.0 branch. Was
the intention to keep that change (in which case it probably should be merged)
or drop it (in which case it should be reverted in trunk)?
Reopening to make sure we remember to check this before 1.0.
> Non-blocking reindexing doesn't save the initial checkpoint
> -----------------------------------------------------------
>
> Key: OAK-1684
> URL: https://issues.apache.org/jira/browse/OAK-1684
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: query
> Affects Versions: 0.20.0
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Fix For: 1.0
>
> Attachments: OAK-1684.patch
>
>
> Following OAK-1456, I've enabled the async reindex background thread, which
> introduced a performance issue where the async reindexer will perform a full
> diff each time if there are never any changes to be processed.
> This happens because the state update happens only when there are relevant
> changes for the index, so if there are never any relevant changes, the state
> will never be saved.
> The issue also affects the async full-text index (lucene) because it will not
> save the checkpoint of the last seen state, it will only save a checkpoint of
> the last relevant state, so in the case there are no changes, the diff will
> grow bigger and bigger.
--
This message was sent by Atlassian JIRA
(v6.2#6252)