You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2016/12/28 00:06:01 UTC
[jira] [Updated] (GEODE-1242) HARegionQueue.addDispatchedMessage
fails with assertion
[ https://issues.apache.org/jira/browse/GEODE-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker updated GEODE-1242:
---------------------------------
Fix Version/s: 1.1.0
> HARegionQueue.addDispatchedMessage fails with assertion
> -------------------------------------------------------
>
> Key: GEODE-1242
> URL: https://issues.apache.org/jira/browse/GEODE-1242
> Project: Geode
> Issue Type: Bug
> Components: client queues
> Reporter: Darrel Schneider
> Assignee: xiaojian zhou
> Fix For: 1.1.0
>
>
> CacheClientNotifierDUnitTest.testMultipleCacheServer failed with this suspect string which is caused by a failed assertion in the product code: Object old = ((ConcurrentMap)tempDispatchedMessagesMap).putIfAbsent(
> this.regionName, this.threadIdToSeqId);
> if (isUsedByTest) {
> testMarkerMessageRecieved = true;
> if (logger.isDebugEnabled()) {
> logger.debug("testIsAckRecieved: {}", testMarkerMessageRecieved);
> }
> }
> Assert.assertTrue(old == null);
> Here is the suspect string stack:Found suspect string in log4j at line 2564
> [fatal 2016/04/16 02:52:53.399 UTC <ServerConnection on port 24513 Thread 12> tid=0x71] Server connection from [identity(ip-10-32-36-249(14674:loner):50509:c338fc1c,connection=1; port=50568] : Unexpected Error on server
> com.gemstone.gemfire.InternalGemFireError
> at com.gemstone.gemfire.internal.Assert.throwError(Assert.java:93)
> at com.gemstone.gemfire.internal.Assert.assertTrue(Assert.java:57)
> at com.gemstone.gemfire.internal.cache.ha.HARegionQueue.addDispatchedMessage(HARegionQueue.java:1758)
> at com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientNotifier.processDispatchedMessage(CacheClientNotifier.java:733)
> at com.gemstone.gemfire.internal.cache.tier.sockets.command.PeriodicAck.cmdExecute(PeriodicAck.java:56)
> at com.gemstone.gemfire.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:175)
> at com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.doNormalMsg(ServerConnection.java:805)
> at com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.doOneMessage(ServerConnection.java:932)
> at com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1181)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl$1$1.run(AcceptorImpl.java:560)
> at java.lang.Thread.run(Thread.java:745)
> at org.junit.Assert.fail(Assert.java:88)
> at com.gemstone.gemfire.test.dunit.standalone.DUnitLauncher.closeAndCheckForSuspects(DUnitLauncher.java:354)
> at com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.cleanupAllVms(JUnit4DistributedTestCase.java:543)
> at ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)