You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hans Lund (JIRA)" <ji...@apache.org> on 2014/02/20 15:41:20 UTC

[jira] [Updated] (LUCENE-5461) ControlledRealTimeReopenThread waitForGeneration might sleep for targetMaxStaleSec instead of targetMinStaleSec

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

Hans Lund updated LUCENE-5461:
------------------------------

    Attachment: TestLucene5461.java

junit test showing the bug

> ControlledRealTimeReopenThread waitForGeneration might sleep for targetMaxStaleSec instead of targetMinStaleSec
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5461
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5461
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/search
>    Affects Versions: 4.6.1
>            Reporter: Hans Lund
>            Priority: Minor
>         Attachments: TestLucene5461.java
>
>
> If setting the tagetMinStaleSec to 0, sometimes a call to waitForGeneration will block for targetMaxStaleSec instead of immediately call maybeRefreshBlocking on the manager.
> In effect to targetMaxStaleSec cannot be set higher than acceptable blocking resolving of a specified generation. 
>  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org