You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Mark Hanson (Jira)" <ji...@apache.org> on 2020/01/17 06:18:00 UTC

[jira] [Commented] (GEODE-7702) DistributedAckRegionCCEDUnitTest > testClearOnNonReplicateWithConcurrentEvents is showing a product bug

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

Mark Hanson commented on GEODE-7702:
------------------------------------

looks like failures in testConcurrentEventsOnEmptyRegion are related

 
{noformat}
org.apache.geode.cache30.DistributedAckOverflowRegionCCEOffHeapDUnitTest:  1 failures (98.795% success rate)

         testConcurrentEventsOnEmptyRegion       https://concourse.apachegeode-ci.info/teams/main/pipelines/mhansonp-mhanson-mass-test-ru-main/jobs/DistributedTestOpenJDK8/builds/2972
 {noformat}
 
{noformat}
org.apache.geode.cache30.DistributedAckRegionCCEDUnitTest:  2 failures (97.590% success rate)

         testConcurrentEventsOnEmptyRegion       https://concourse.apachegeode-ci.info/teams/main/pipelines/mhansonp-mhanson-mass-test-ru-main/jobs/DistributedTestOpenJDK8/builds/2984
         testConcurrentEventsOnEmptyRegion       https://concourse.apachegeode-ci.info/teams/main/pipelines/mhansonp-mhanson-mass-test-ru-main/jobs/DistributedTestOpenJDK8/builds/2945
 {noformat}

> DistributedAckRegionCCEDUnitTest > testClearOnNonReplicateWithConcurrentEvents is showing a product bug
> -------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7702
>                 URL: https://issues.apache.org/jira/browse/GEODE-7702
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>            Reporter: Mark Hanson
>            Assignee: Xiaojian Zhou
>            Priority: Major
>              Labels: GeodeCommons
>
> testClearOnNonReplicateWithConcurrentEvents in DistributedAckRegionCCEDUnitTest.java
> versionTestClearOnNonReplicateWithConcurrentEvents in MultiVMRegionTestCase.java 
> doOpsLoop
> doOpsLoopNoFlush
> {noformat}
> case 5:
>   if (includeClear) {
>     CCRegion.clear();
>     break;
>   } else {
>     if (CCRegion.getAttributes().getDataPolicy().withReplication()) {
>       if (oldkey != null) {
>         CCRegion.putIfAbsent(oldkey, value);
>       }
>       break;
>     } // else fall through to invalidate
>   } {noformat}
> the addition of this chunk of code causes this test to fail.
> The core of the problem is that a putall and a clear are happening concurrently and the "system" does not respond by either clearing all entries or letting all entries persist.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)