[infinispan-issues] [JBoss JIRA] (ISPN-4368) StateTransferOverwriteTest random failures

Sanne Grinovero (JIRA) issues at jboss.org
Tue Jun 10 09:21:15 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero updated ISPN-4368:
----------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> StateTransferOverwriteTest random failures
> ------------------------------------------
>
>                 Key: ISPN-4368
>                 URL: https://issues.jboss.org/browse/ISPN-4368
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core, Test Suite - Core
>    Affects Versions: 7.0.0.Alpha4
>            Reporter: Dan Berindei
>            Assignee: William Burns
>              Labels: testsuite_stability
>             Fix For: 7.0.0.Beta1
>
>         Attachments: StateTransferOverwriteTest_pr_pruivo_ISPN-4025_xsite-st-failures_20140605.log.gz
>
>
> {{testStateTransferInBetweenPrepareCommitWithPutCreate}} sometimes fails because the state transfer doesn't finish in time:
> {noformat}
> java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node NodeBN-23267, current topology is CacheTopology{id=6, currentCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}, pendingCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}, unionCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}}
> 	at org.infinispan.test.TestingUtil.waitForRehashToComplete(TestingUtil.java:214)
> 	at org.infinispan.distribution.rehash.BaseTxStateTransferOverwriteTest.doStateTransferInBetweenPrepareCommit(BaseTxStateTransferOverwriteTest.java:265)
> 	at org.infinispan.distribution.rehash.BaseTxStateTransferOverwriteTest.testStateTransferInBetweenPrepareCommitWithPutCreate(BaseTxStateTransferOverwriteTest.java:94)
> {noformat}
> The problem seems to be that the test intends to block the {{PUT_CREATE}} command on the primary owner of the test key, but it sometimes also blocks the state transfer put for the {{placeholder}} key - depending on which node was the backup owner of the {{placeholder}} key.
> The purpose of the {{placeholder}} key is also not very clear, we should add a comment how we expect the presence of another entry to interact with the tx / operation in progress.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list