[infinispan-issues] [JBoss JIRA] (ISPN-3744) TopologyAwareTwoNodesMapReduceTest && SimpleTwoNodesMapReduceTest random failures
William Burns (JIRA)
issues at jboss.org
Fri Mar 18 12:33:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Burns resolved ISPN-3744.
---------------------------------
Resolution: Out of Date
Map/Reduce has been removed
> TopologyAwareTwoNodesMapReduceTest && SimpleTwoNodesMapReduceTest random failures
> ---------------------------------------------------------------------------------
>
> Key: ISPN-3744
> URL: https://issues.jboss.org/browse/ISPN-3744
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce, Test Suite - Core
> Affects Versions: 6.0.0.Final
> Reporter: Dan Berindei
> Priority: Blocker
> Labels: testsuite_stability
>
> The static counter used in FailAfterSecondCallReducer in TopologyAwareTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution and SimpleTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution has several problems:
> 1. Both tests use the same counter, if they run in parallel one could reset the counter for the other.
> 2. The counter update is not atomic, so the async thread that executes the reducer on the originator and the remote executor thread that executes the reducer on the remote node can both see value 0.
> 3. There is no guarantee that the reducer is executed on the originator first, so the exception isn't always thrown on the remote node.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list