You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (Jira)" <ji...@apache.org> on 2020/02/04 00:02:00 UTC

[jira] [Commented] (GEODE-7510) Records are being deleted during Redundancy GII and records that should have been deleted are being left on redundant host.

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

Jason Huynh commented on GEODE-7510:
------------------------------------

This

> Records are being deleted during Redundancy GII and records that should have been deleted are being left on redundant host.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7510
>                 URL: https://issues.apache.org/jira/browse/GEODE-7510
>             Project: Geode
>          Issue Type: Bug
>          Components: core
>            Reporter: Juan Ramos
>            Assignee: Jason Huynh
>            Priority: Major
>              Labels: GeodeCommons, redundancy
>             Fix For: 1.12.0
>
>
> PartitionedRegionSizeDUnitTest.testBug39868 is showing a product issue where deletions are happening during GII and things are left out of sync. This is reproducible by running this test repeatedly on your local machine.
>  
> I've came across this one during the [CI run|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/5194] for one of my {{Pull Request}}:
> {noformat}
> org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest > testBug39868 FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest$$Lambda$47/883874659.run in VM 1 running on Host localhost with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
>         at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.testBug39868(PartitionedRegionSizeDUnitTest.java:126)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[0]L> but was:<[672]L>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.lambda$testBug39868$bb17a952$5(PartitionedRegionSizeDUnitTest.java:129)
> {noformat}
> Below are the results from running the test 200 times locally with the latest {{develop}} branch:
> {noformat}
> $ geode (develop)> git log -n 3 --oneline
> 6933232574 (HEAD -> develop, origin/develop, origin/HEAD) GEODE-7487: Update Running CQ Context (#4369)
> 94ec51b35e GEODE-7496 - Decouple management API from Gfsh RebalanceCommand (#4370)
> 3b85e5cb88 GEODE-7436: Deploy jar using semantic versioning scheme  (#4382)
> $ geode (develop)> ./gradlew repeatDistributedTest --no-parallel -Prepeat=200 -PfailOnNoMatchingTests=false --tests PartitionedRegionSizeDUnitTest.testBug39868
> > Task :geode-core:repeatDistributedTest
> org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest > testBug39868 FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest$$Lambda$31/214451470.run in VM 1 running on Host localhost with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
>         at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.testBug39868(PartitionedRegionSizeDUnitTest.java:126)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[]0L> but was:<[56]0L>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.lambda$testBug39868$bb17a952$5(PartitionedRegionSizeDUnitTest.java:129)
> org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest > testBug39868 FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest$$Lambda$31/214451470.run in VM 1 running on Host localhost with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
>         at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.testBug39868(PartitionedRegionSizeDUnitTest.java:126)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[]0L> but was:<[56]0L>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.lambda$testBug39868$bb17a952$5(PartitionedRegionSizeDUnitTest.java:129)
> org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest > testBug39868 FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest$$Lambda$31/214451470.run in VM 1 running on Host localhost with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
>         at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.testBug39868(PartitionedRegionSizeDUnitTest.java:126)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[]0L> but was:<[56]0L>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.lambda$testBug39868$bb17a952$5(PartitionedRegionSizeDUnitTest.java:129)
> org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest > testBug39868 FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest$$Lambda$31/214451470.run in VM 1 running on Host localhost with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
>         at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.testBug39868(PartitionedRegionSizeDUnitTest.java:126)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[]0L> but was:<[56]0L>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.lambda$testBug39868$bb17a952$5(PartitionedRegionSizeDUnitTest.java:129)
> org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest > testBug39868 FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest$$Lambda$31/214451470.run in VM 1 running on Host localhost with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
>         at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.testBug39868(PartitionedRegionSizeDUnitTest.java:126)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[0]L> but was:<[672]L>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.lambda$testBug39868$bb17a952$5(PartitionedRegionSizeDUnitTest.java:129)
> org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest > testBug39868 FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest$$Lambda$31/214451470.run in VM 1 running on Host localhost with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
>         at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.testBug39868(PartitionedRegionSizeDUnitTest.java:126)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[]0L> but was:<[56]0L>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.lambda$testBug39868$bb17a952$5(PartitionedRegionSizeDUnitTest.java:129)
> org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest > testBug39868 FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest$$Lambda$31/214451470.run in VM 1 running on Host localhost with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
>         at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.testBug39868(PartitionedRegionSizeDUnitTest.java:126)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[0]L> but was:<[112]L>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.internal.cache.PartitionedRegionSizeDUnitTest.lambda$testBug39868$bb17a952$5(PartitionedRegionSizeDUnitTest.java:129)
> 200 tests completed, 7 failed
> > Task :geode-core:repeatDistributedTest FAILED
> BUILD FAILED in 4m 41s
> 185 actionable tasks: 17 executed, 168 up-to-date
> {noformat}



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