Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7702

DistributedAckRegionCCEDUnitTest > testClearOnNonReplicateWithConcurrentEvents is showing a product bug

    XMLWordPrintableJSON

Details

    Description

      testClearOnNonReplicateWithConcurrentEvents in DistributedAckRegionCCEDUnitTest.java

      versionTestClearOnNonReplicateWithConcurrentEvents in MultiVMRegionTestCase.java 

      doOpsLoop

      doOpsLoopNoFlush

      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
        } 

      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.

      Attachments

        Activity

          People

            zhouxj Xiaojian Zhou
            mhansonp Mark Hanson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: