[jira] [Resolved] (GEODE-2661) CacheListener gets invoked when an non-existent entry is removed using removeAll
[ https://issues.apache.org/jira/browse/GEODE-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lynn Gallinat resolved GEODE-2661. -- Resolution: Fixed > CacheListener gets invoked when an non-existent entry is removed using > removeAll > > > Key: GEODE-2661 > URL: https://issues.apache.org/jira/browse/GEODE-2661 > Project: Geode > Issue Type: Bug > Components: regions >Reporter: Anilkumar Gingade >Assignee: Lynn Gallinat > Labels: storage_2 > Fix For: 1.2.0 > > > When a non-existing entry is removed using removeAll from PartitionedRegion > (need to verify this on replicated), the CacheListener's aftrerDestroy > callback method gets invoked. The afterDestroy should not be invoked for > entry which is not present. > How to reproduce. > region.put (k1, v1) > region.put (k2, v2) > // Remove all from client > List keys= Arrays.asList("k1", "k2", "k8"); > region.removeAll(l); > The afterDestroy call back will be invoked for k8. On server. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (GEODE-2917) CI failure: DiskSpaceLimitIntegrationTest.aboveZeroDeletesPreviousFiles expecting file to exist
Lynn Gallinat created GEODE-2917: Summary: CI failure: DiskSpaceLimitIntegrationTest.aboveZeroDeletesPreviousFiles expecting file to exist Key: GEODE-2917 URL: https://issues.apache.org/jira/browse/GEODE-2917 Project: Geode Issue Type: Bug Components: persistence Reporter: Lynn Gallinat Error Message java.lang.AssertionError: Expecting file: to exist. Stacktrace java.lang.AssertionError: Expecting file: to exist. at org.apache.geode.internal.statistics.DiskSpaceLimitIntegrationTest.aboveZeroDeletesPreviousFiles(DiskSpaceLimitIntegrationTest.java:200) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:377) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54) at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
[jira] [Created] (GEODE-2916) CI failure: CacheAdvisorDUnitTest.testNetLoadAdviceWithAttributesMutator
Lynn Gallinat created GEODE-2916: Summary: CI failure: CacheAdvisorDUnitTest.testNetLoadAdviceWithAttributesMutator Key: GEODE-2916 URL: https://issues.apache.org/jira/browse/GEODE-2916 Project: Geode Issue Type: Bug Components: configuration Reporter: Lynn Gallinat org.apache.geode.internal.cache.CacheAdvisorDUnitTest > testNetLoadAdviceWithAttributesMutator FAILED org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.CacheAdvisorDUnitTest$5.run in VM 1 running on Host 625a8f112303 with 4 VMs at org.apache.geode.test.dunit.VM.invoke(VM.java:377) at org.apache.geode.test.dunit.VM.invoke(VM.java:347) at org.apache.geode.test.dunit.VM.invoke(VM.java:292) at org.apache.geode.internal.cache.CacheAdvisorDUnitTest.testNetLoadAdviceWithAttributesMutator(CacheAdvisorDUnitTest.java:207) Caused by: java.lang.AssertionError: expected:<4> but was:<3> -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (GEODE-2895) CI failure: OldFreeListOffHeapRegionJUnitTest.testLocalPersistent
Lynn Gallinat created GEODE-2895: Summary: CI failure: OldFreeListOffHeapRegionJUnitTest.testLocalPersistent Key: GEODE-2895 URL: https://issues.apache.org/jira/browse/GEODE-2895 Project: Geode Issue Type: Bug Components: offheap Reporter: Lynn Gallinat {noformat} org.apache.geode.internal.offheap.OldFreeListOffHeapRegionJUnitTest > testLocalPersistent FAILED java.lang.AssertionError: expected:<0> but was:<24> java.lang.AssertionError: expected:<0> but was:<24> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.apache.geode.internal.offheap.OffHeapRegionBase.doRegionTest(OffHeapRegionBase.java:451) at org.apache.geode.internal.offheap.OffHeapRegionBase.doRegionTest(OffHeapRegionBase.java:211) at org.apache.geode.internal.offheap.OffHeapRegionBase.testLocalPersistent(OffHeapRegionBase.java:618) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:377) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54) at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at
[jira] [Assigned] (GEODE-2661) CacheListener gets invoked when an non-existent entry is removed using removeAll
[ https://issues.apache.org/jira/browse/GEODE-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lynn Gallinat reassigned GEODE-2661: Assignee: Lynn Gallinat > CacheListener gets invoked when an non-existent entry is removed using > removeAll > > > Key: GEODE-2661 > URL: https://issues.apache.org/jira/browse/GEODE-2661 > Project: Geode > Issue Type: Bug > Components: regions >Reporter: Anilkumar Gingade >Assignee: Lynn Gallinat > Labels: storage_2 > > When a non-existing entry is removed using removeAll from PartitionedRegion > (need to verify this on replicated), the CacheListener's aftrerDestroy > callback method gets invoked. The afterDestroy should not be invoked for > entry which is not present. > How to reproduce. > region.put (k1, v1) > region.put (k2, v2) > List keys= Arrays.asList("k1", "k2", "k8"); > region.removeAll(l); > The afterDestroy call back will be invoked for k8. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Assigned] (GEODE-2398) Sporadic Oplog corruption due to channel.write failure
[ https://issues.apache.org/jira/browse/GEODE-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lynn Gallinat reassigned GEODE-2398: Assignee: Lynn Gallinat (was: Anilkumar Gingade) > Sporadic Oplog corruption due to channel.write failure > -- > > Key: GEODE-2398 > URL: https://issues.apache.org/jira/browse/GEODE-2398 > Project: Geode > Issue Type: Bug > Components: persistence >Reporter: Kenneth Howe >Assignee: Lynn Gallinat > Fix For: 1.2.0 > > > There have been some occurrences of Oplog corruption during testing that have > been traced to failures in writing oplog entries to the .crf file. When it > fails, Oplog.flush attempts to write a ByteBuffer to the file channel. The > call to channel.write(bb) method returns 0 bytes written, but the source > ByteBuffer position is moved to the ByteBuffer limit. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (GEODE-2786) CI failure: DiskSpaceLimitIntegrationTest.aboveZeroDeletesPreviousFiles_nameWithHyphen
Lynn Gallinat created GEODE-2786: Summary: CI failure: DiskSpaceLimitIntegrationTest.aboveZeroDeletesPreviousFiles_nameWithHyphen Key: GEODE-2786 URL: https://issues.apache.org/jira/browse/GEODE-2786 Project: Geode Issue Type: Bug Components: persistence Reporter: Lynn Gallinat Failed in concourse GemFireIntegrationTest #706 org.apache.geode.internal.statistics.DiskSpaceLimitIntegrationTest > aboveZeroDeletesPreviousFiles_nameWithHyphen FAILED org.junit.ComparisonFailure: [Unexpected files: [/tmp/junit88809687228487/psin8p724_cache1-statistics-02-01.gfs, /tmp/junit88809687228487/psin8p724_cache1-statistics-02-02.gfs, /tmp/junit88809687228487/psin8p724_cache1-statistics.gfs]] expected:<[2]> but was:<[3]> 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.statistics.DiskSpaceLimitIntegrationTest.validateNumberFiles(DiskSpaceLimitIntegrationTest.java:263) at org.apache.geode.internal.statistics.DiskSpaceLimitIntegrationTest.aboveZeroDeletesPreviousFiles_nameWithHyphen(DiskSpaceLimitIntegrationTest.java:251) -- This message was sent by Atlassian JIRA (v6.3.15#6346)