[
https://issues.apache.org/jira/browse/OAK-10145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roxana-Elena Balasoiu updated OAK-10145:
----------------------------------------
Description:
For those that want to use indexes in read-only mode (read from the indexes,
but not write to them), they can simply not add the Lucene index editor
provider when configuring Oak. However, in this case the following warning is
logged every second many times:
Missing provider for nrt/sync index: {} (rootState.async: {}).
Please note, it means that index data should be trusted only after this index
is processed in an async indexing cycle.
The message is correct, and I think it is good, but it shouldn't be logged all
that often: it is filling the disk. Instead, the message should be logged only
once per minute, or so.
> Rate limit the log messages for IndexUpdate
> -------------------------------------------
>
> Key: OAK-10145
> URL: https://issues.apache.org/jira/browse/OAK-10145
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Roxana-Elena Balasoiu
> Priority: Major
>
> For those that want to use indexes in read-only mode (read from the indexes,
> but not write to them), they can simply not add the Lucene index editor
> provider when configuring Oak. However, in this case the following warning is
> logged every second many times:
>
> Missing provider for nrt/sync index: {} (rootState.async: {}).
> Please note, it means that index data should be trusted only after this index
> is processed in an async indexing cycle.
>
> The message is correct, and I think it is good, but it shouldn't be logged
> all that often: it is filling the disk. Instead, the message should be logged
> only once per minute, or so.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)