GEODE-371: The unfinished destroy operation is overwritten by the GII but the tombstone is left in cache. TombstoneGC on different members are not finished at the same time. When GII happened in this window, the expected deltaGII will become full GII.
However, after discussed with the team, we decide not to fix, only to enhance the test to wait until the time window is over. Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/a1162db7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/a1162db7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/a1162db7 Branch: refs/heads/feature/GEODE-77 Commit: a1162db7dccf82ed5987b650dbe7b5c27d4e932f Parents: 0cc9d89 Author: zhouxh <[email protected]> Authored: Wed Oct 28 22:47:41 2015 -0700 Committer: zhouxh <[email protected]> Committed: Thu Oct 29 10:36:20 2015 -0700 ---------------------------------------------------------------------- .../com/gemstone/gemfire/internal/cache/GIIDeltaDUnitTest.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/a1162db7/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/GIIDeltaDUnitTest.java ---------------------------------------------------------------------- diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/GIIDeltaDUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/GIIDeltaDUnitTest.java index 38fc3ab..69894e1 100644 --- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/GIIDeltaDUnitTest.java +++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/GIIDeltaDUnitTest.java @@ -416,6 +416,8 @@ public class GIIDeltaDUnitTest extends CacheTestCase { // restart R, to make sure the unfinished op is handled correctly forceGC(R, 1); // for bug 47616 + waitForToVerifyRVV(P, memberR, 6, null, 5); // P's rvv=R6, gc=5 + waitForToVerifyRVV(R, memberR, 6, null, 5); // P's rvv=R6, gc=5 closeCache(R); createDistributedRegion(R);
