[
https://issues.apache.org/jira/browse/GEODE-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108232#comment-16108232
]
ASF GitHub Bot commented on GEODE-3380:
---------------------------------------
GitHub user gesterzhou opened a pull request:
https://github.com/apache/geode/pull/674
GEODE-3380: There're 2 problems here
@dschneider-pivotal @upthewaterspout @boglesby
There're 2 problems:
1) when removeAll is retried, it will get EntryNotFound exception. It
should still put the remove event
into the AEQ.
2) An old bug fix in 8.2 was not merged into develop: when removeAll
encounter EntryNotFound exception, should
return version tag of the tombstone. (i.e. #51871)
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced in
the commit message?
- [ ] Has your PR been rebased against the latest commit within the target
branch (typically `develop`)?
- [ ] Is your initial contribution a single, squashed commit?
- [ ] Does `gradlew build` run cleanly?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
### Note:
Please ensure that once the PR is submitted, you check travis-ci for build
issues and
submit an update to your PR as soon as possible. If you need help, please
send an
email to [email protected].
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/geode feature/GEODE-3380
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/geode/pull/674.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #674
----
commit 2637aaf2677171569c89e98482fb489415795d72
Author: zhouxh <[email protected]>
Date: 2017-08-01T00:55:09Z
GEODE-3380: There're 2 problems here
1) when removeAll is retried, it will get EntryNotFound exception. It
should still put the remove event
into the AEQ.
2) An old bug fix in 8.2 was not merged into develop: when removeAll
encounter EntryNotFound exception, should
return version tag of the tombstone.
----
> data mismatch caused by removeAll
> ---------------------------------
>
> Key: GEODE-3380
> URL: https://issues.apache.org/jira/browse/GEODE-3380
> Project: Geode
> Issue Type: Bug
> Reporter: xiaojian zhou
> Assignee: xiaojian zhou
> Labels: lucene
>
> Host name: r02-s12
> OS name: Linux
> Architecture: amd64
> OS version: 4.4.0-66-lowlatency
> Java version: 1.8.0_45
> Java vm name: Java HotSpot(TM) 64-Bit Server VM
> Java vendor: Oracle Corporation
> Java home: /export/java/users/java_share/jdk/1.8.0_45/x86_64.linux/jre
> #####################################################
> Product
> Product-Name: Pivotal GemFire
> Product-Version: 0.0.0
> Native version: native code unavailable
> Build
> Build-Date: 2017-06-21 18:09:56 -0700
> Build-Id: xzhou 9999
> Build-Java-Version: 1.8.0_66
> Build-Platform: Linux 4.4.0-66-lowlatency amd64
> Open
> Source-Date: 2017-06-21 18:13:11 -0700
> Source-Repository: feature/GEM-1483
> Source-Revision: 524983349ccc576623eb69860d5287b8343a6064
> Closed
> GemFire-Source-Date: 2017-06-14 08:59:26 -0700
> GemFire-Source-Repository: develop
> GemFire-Source-Revision: 1fe7c957e77cbfa254dbc353fd200233aebd3280
> Running on: /10.118.50.12, 24 cpu(s), amd64 Linux 4.4.0-66-lowlatency
> #####################################################
> Test was run from ./test1455.bt
> Test:
> lucene/concParRegHAPersist.conf
> A=accessor
> B=dataStore
> accessorHosts=1
> accessorThreadsPerVM=5
> accessorVMsPerHost=1
> dataStoreHosts=6
> dataStoreThreadsPerVM=5
> dataStoreVMsPerHost=1
> numVMsToStop=2
> redundantCopies=0
> Run with local.conf:
> hydra.GemFirePrms-logLevel=fine;
> // hydra.VmPrms-extraVMArgs = -Xmx512m -Xms512m;
> // hydra.VmPrms-extraVMArgs=-Xmx500m;
> // hydra.Prms-randomSeed=1481188814352;
> hydra.Prms-randomSeed=1497100016755;
> // hydra.RegionPrms-offHeap = false;
> //randomSeed extracted from test:
> hydra.Prms-randomSeed=1497100016755;
> *** Test failed with this error:
> CLIENT vm_4_thr_20_dataStore4_r02-s12_10282
> TASK[1] parReg.ParRegTest.HydraTask_HADoEntryOps
> ERROR util.TestException: util.TestException: waitUntilFlushed returned true
> after 7ms
> Verifying 479 matches for lucene index against snapshot of size 478
> Lucene query did not match region values.
> missingKeys=[], extraKeys=[Object_5740],
> pendingAsyncOps=[],
> lastException=
> at lucene.LuceneHelper.verifyLuceneIndex(LuceneHelper.java:149)
> at lucene.LuceneTest.verifyLuceneIndex(LuceneTest.java:516)
> at lucene.LuceneTest.verifyFromSnapshotOnly(LuceneTest.java:398)
> at parReg.ParRegTest.verifyFromSnapshot(ParRegTest.java:5703)
> at parReg.ParRegTest.concVerify(ParRegTest.java:6106)
> 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:497)
> at util.MethodCoordinator.executeOnce(MethodCoordinator.java:68)
> at parReg.ParRegTest.HADoEntryOps(ParRegTest.java:2287)
> at parReg.ParRegTest.HydraTask_HADoEntryOps(ParRegTest.java:1040)
> at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at hydra.MethExecutor.execute(MethExecutor.java:182)
> at hydra.MethExecutor.execute(MethExecutor.java:150)
> at hydra.TestTask.execute(TestTask.java:192)
> at hydra.RemoteTestModule$1.run(RemoteTestModule.java:212)
> util.TestException: util.TestException: waitUntilFlushed returned true after
> 7ms
> Verifying 479 matches for lucene index against snapshot of size 478
> Lucene query did not match region values.
> missingKeys=[], extraKeys=[Object_5740],
> pendingAsyncOps=[],
> lastException=
> at lucene.LuceneHelper.verifyLuceneIndex(LuceneHelper.java:149)
> at lucene.LuceneTest.verifyLuceneIndex(LuceneTest.java:516)
> at lucene.LuceneTest.verifyFromSnapshotOnly(LuceneTest.java:398)
> at parReg.ParRegTest.verifyFromSnapshot(ParRegTest.java:5703)
> at parReg.ParRegTest.concVerify(ParRegTest.java:6106)
> 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:497)
> at util.MethodCoordinator.executeOnce(MethodCoordinator.java:68)
> at parReg.ParRegTest.HADoEntryOps(ParRegTest.java:2287)
> at parReg.ParRegTest.HydraTask_HADoEntryOps(ParRegTest.java:1040)
> at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at hydra.MethExecutor.execute(MethExecutor.java:182)
> at hydra.MethExecutor.execute(MethExecutor.java:150)
> at hydra.TestTask.execute(TestTask.java:192)
> at hydra.RemoteTestModule$1.run(RemoteTestModule.java:212)
> at util.MethodCoordinator.executeOnce(MethodCoordinator.java:72)
> at parReg.ParRegTest.HADoEntryOps(ParRegTest.java:2287)
> at parReg.ParRegTest.HydraTask_HADoEntryOps(ParRegTest.java:1040)
> at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at hydra.MethExecutor.execute(MethExecutor.java:182)
> at hydra.MethExecutor.execute(MethExecutor.java:150)
> at hydra.TestTask.execute(TestTask.java:192)
> at hydra.RemoteTestModule$1.run(RemoteTestModule.java:212)
> The result is:
> /export/buglogs_bvt/xzhou/lucene/concParRegHAPersist-0623-032050
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)