[
https://issues.apache.org/jira/browse/LUCENE-5461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-5461:
---------------------------------------
Attachment: LUCENE-5461.patch
Ahh, nice catch! I was able to repro the failure before, but not after, your
fix.
I folded in the fix, made some minor formatting changes to the comments,
absorbed the test case into the existing one. I think it's ready; I'll commit
shortly.
Thanks Hans!
> 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]