[
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
I tweaked the test a bit, to close everything, etc., but the test seems to pass
for me.
How did you see it fail before? Did it trip that assert about waiting too long
for a gen?
> 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: 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]