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

Chetan Mehrotra commented on OAK-5368:
--------------------------------------

[~stefan.eissing] The low queue size is by design as this Observer is not 
interested in distinguishing between local and external change. So on queue 
full if it gets compacted then also its fine. The observer does precise diff 
based on loaded index in IndexTracker. 

Are you seeing any performance impact in diff due to low queue size?

> 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)

Reply via email to