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

ASF subversion and git services commented on LUCENE-5461:
---------------------------------------------------------

Commit 1570559 from [~mikemccand] in branch 'dev/trunk'
[ https://svn.apache.org/r1570559 ]

LUCENE-5461: fix thread hazard in ControlledRealTimeReopenThread causing a 
possible too-long wait time when a thread was waiting for a specific generation

> 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: ControlledRealTimeReopenThread.patch, LUCENE-5461.patch, 
> LUCENE-5461.patch, 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to