[infinispan-issues] [JBoss JIRA] (ISPN-6424) Distributed Executor get can propagate exception if interrupt returns before cancellation
Dan Berindei (JIRA)
issues at jboss.org
Thu Mar 31 09:48:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184688#comment-13184688 ]
Dan Berindei commented on ISPN-6424:
------------------------------------
You can use `cache.getStatus().isStopping() || cache.getStatus().isTerminated()` to see if the cache is shutting down.
> Distributed Executor get can propagate exception if interrupt returns before cancellation
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-6424
> URL: https://issues.jboss.org/browse/ISPN-6424
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.0.0.Alpha1
>
>
> This can cause get method to return an exception of the operation being interrupted instead of a CancellationException as it should.
> This causes a test failure http://ci.infinispan.org/viewLog.html?buildId=37756&tab=buildResultsDiv&buildTypeId=Infinispan_MasterHotspotJdk8#testNameId-3420236380418240325
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list