geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-385) TXExpiryJUnitTest fails intermittently with RegionDestroyedException
Date Tue, 06 Oct 2015 18:35:27 GMT

    [ https://issues.apache.org/jira/browse/GEODE-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945534#comment-14945534
] 

ASF subversion and git services commented on GEODE-385:
-------------------------------------------------------

Commit 6c09b04caa55ad298c6cabcc591858f39c5aaaf8 in incubator-geode's branch refs/heads/develop
from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=6c09b04 ]

GEODE-385: fix test race

Region expiration was being enabled before the test suspended expiration.
This introduced a race in which the region could be expire destroyed
before the first put happened. Now expiry is suspended before region
expiration is configured.


> TXExpiryJUnitTest fails intermittently with RegionDestroyedException
> --------------------------------------------------------------------
>
>                 Key: GEODE-385
>                 URL: https://issues.apache.org/jira/browse/GEODE-385
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>
> This was introduced recently in this revision: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/1673e246
> com.gemstone.gemfire.cache.RegionDestroyedException: com.gemstone.gemfire.internal.cache.DistributedRegion[path='/TXRegionTTL';scope=DISTRIBUTED_NO_ACK';dataPolicy=NORMAL;
concurrencyChecksEnabled]
> 	at com.gemstone.gemfire.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:8132)
> 	at com.gemstone.gemfire.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2977)
> 	at com.gemstone.gemfire.internal.cache.LocalRegion.newUpdateEntryEvent(LocalRegion.java:1779)
> 	at com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1726)
> 	at com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:337)
> 	at com.gemstone.gemfire.TXExpiryJUnitTest.generalRegionExpirationTest(TXExpiryJUnitTest.java:333)
> 	at com.gemstone.gemfire.TXExpiryJUnitTest.testRegionTTLExpiration(TXExpiryJUnitTest.java:292)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message