[ 
https://issues.apache.org/jira/browse/GEODE-7702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaojian Zhou updated GEODE-7702:
---------------------------------
    Description: 
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.

  was:
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.


> 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)

Reply via email to