[
https://issues.apache.org/jira/browse/OAK-5368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Eissing updated OAK-5368:
--------------------------------
Attachment: LuceneIndexConfigObserver-under-load.png
Sample measurement of a patched LuceneIndexConfigObserver on a system under
load.
> Not configurable/Unnecessary short Lucene Observation Queue length
> ------------------------------------------------------------------
>
> Key: OAK-5368
> URL: https://issues.apache.org/jira/browse/OAK-5368
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene
> Affects Versions: 1.4.10
> Reporter: Stefan Eissing
> Priority: Minor
> Attachments: LuceneIndexConfigObserver-under-load.png
>
>
> The maximum queue length in the {{LuceneIndexConfigObserver}} is hard coded
> to 5. This is unreasonable short for production systems experiencing heavy
> load.
> Tests with a patched version resulted in observed queue length of >100
> entries. This floods warnings into the error log, produces additional load.
> The fix would be to increase the queue max, make it configurable or rely on
> the system default (which can be configured).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)