[
https://issues.apache.org/jira/browse/GEODE-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shelley Lynn Hughes-Godfrey resolved GEODE-2852.
------------------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
commit b47673239c9e7dca362de08964326d20a9e1f7bc
Author: Lynn Hughes-Godfrey <[email protected]>
Date: Thu May 4 11:53:48 2017 -0700
GEODE-2852: Enforce lucene waitUntilFlushed timeout for all buckets
* Since we are now batching waitUntilFlushed threads, do not submit more
WaitUntilFlushed Callables if timeout exceeded
* create the WaitUntilFlushed Callables just prior to submitting for
execution so the remaining nanoSeconds can be passed in and applied for each
bucket.
* updated tests to accommodate changes
> Enforce WaitUntilFlushedFunction.waitUntilFlushed() timeout across all
> (local) buckets (not per bucket)
> -------------------------------------------------------------------------------------------------------
>
> Key: GEODE-2852
> URL: https://issues.apache.org/jira/browse/GEODE-2852
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Affects Versions: 1.2.0
> Reporter: Shelley Lynn Hughes-Godfrey
> Assignee: Shelley Lynn Hughes-Godfrey
> Fix For: 1.2.0
>
>
> Currently, the timeout provided in LuceneServiceImpl.waitUntilFlushed() is
> applied on a per bucket basis (in each member) within
> BucketRegionQueue.waitUntilFlushed().
> This timeout needs to be applied across all (local primary) buckets
> (WaitUntilParallelGatewaySenderFlushedCoordinator).
> Once the timeout is reached, return false if all WaitUntilFlushed Callables
> have not been invoked.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)