[
https://issues.apache.org/jira/browse/GEODE-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971840#comment-14971840
]
Dan Smith commented on GEODE-192:
---------------------------------
I've tracked this down, and I've made a couple changes to the test to make it
reproduce every time.
The issue is that the test only invokes functions to access the data on the
server. When it calls TransactionFunctionService.onTransaction, that method
requires the client to already have a connection to the member hosting the
transaction. But the earlier function calls may have gone through the other
server.
The reason the test passes most of the time is that the PRsingle hop mechanism
asynchronously is creating a connection to all of the servers. If that runs in
time the test will pass. Disabling single hop and setting min connections to 0
makes the test fail every other time.
> ClientServerTransactionCCEDUnitTest.testClientCommitFunction fails
> intermittently
> ---------------------------------------------------------------------------------
>
> Key: GEODE-192
> URL: https://issues.apache.org/jira/browse/GEODE-192
> Project: Geode
> Issue Type: Bug
> Reporter: Darrel Schneider
> Assignee: Dan Smith
> Priority: Minor
> Labels: CI
>
> ClientServerTransactionCCEDUnitTest.testClientCommitFunction failed recently
> on a private build. The only changes on that branch (feature/GEODE-185) had
> to do with an expiration unit test and some minor expiration changes.
> This failure is intermittent even on that branch.
> dunit.RMIException: While invoking
> com.gemstone.gemfire.internal.cache.ClientServerTransactionDUnitTest$99.call
> in VM 2 running on Host watson.gemstone.com with 4 VMs
> at dunit.VM.invoke(VM.java:359)
> at dunit.VM.invoke(VM.java:303)
> at dunit.VM.invoke(VM.java:271)
> at
> com.gemstone.gemfire.internal.cache.ClientServerTransactionDUnitTest.doFunctionWork(ClientServerTransactionDUnitTest.java:2709)
> at
> com.gemstone.gemfire.internal.cache.ClientServerTransactionDUnitTest.testClientCommitFunction(ClientServerTransactionDUnitTest.java:2680)
> Caused by:
> com.gemstone.gemfire.cache.TransactionDataNodeHasDepartedException: Could not
> connect to member:watson(12644)<v169>:44703
> at
> com.gemstone.gemfire.internal.cache.execute.TransactionFunctionService.onTransaction(TransactionFunctionService.java:82)
> at
> com.gemstone.gemfire.internal.cache.ClientServerTransactionDUnitTest$99.call(ClientServerTransactionDUnitTest.java:2756)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)