[
https://issues.apache.org/jira/browse/LUCENE-5461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908246#comment-13908246
]
ASF subversion and git services commented on LUCENE-5461:
---------------------------------------------------------
Commit 1570560 from [~mikemccand] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1570560 ]
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: [email protected]
For additional commands, e-mail: [email protected]