geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sai_boorlaga...@apache.org
Subject [55/55] [abbrv] incubator-geode git commit: fixed a persistent test failure
Date Tue, 24 May 2016 18:54:36 GMT
fixed a persistent test failure


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/df620989
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/df620989
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/df620989

Branch: refs/heads/feature/GEODE-93
Commit: df6209894a984c7453ec4e41bed8fd91b5c22e61
Parents: 8694c55
Author: Sai Boorlagadda <sboorlagadda@pivotal.io>
Authored: Tue May 24 11:24:48 2016 -0700
Committer: Sai Boorlagadda <sboorlagadda@pivotal.io>
Committed: Tue May 24 11:24:48 2016 -0700

----------------------------------------------------------------------
 .../java/com/gemstone/gemfire/internal/cache/DiskEntry.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/df620989/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java b/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java
index b530f8b..7fa0c42 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java
@@ -1083,10 +1083,10 @@ public interface DiskEntry extends RegionEntry {
               incrementBucketStats(region, 1/*InVM*/, -1/*OnDisk*/, -oldValueLength);
             } else if(oldValue != null && newValue == Token.TOMBSTONE) {
               dr.incNumEntriesInVM(-1L);
-              if(dr.isBackup()) {
-                dr.incNumOverflowBytesOnDisk(-oldValueLength);
-                incrementBucketStats(region, -1/*InVM*/, 0/*OnDisk*/, -oldValueLength);
-              }
+              //if(dr.isBackup()) {
+              //  dr.incNumOverflowBytesOnDisk(-oldValueLength);
+              //  incrementBucketStats(region, -1/*InVM*/, 0/*OnDisk*/, -oldValueLength);
+              //}
             } else if(oldValue == Token.TOMBSTONE && newValue != Token.TOMBSTONE)
{
               dr.incNumEntriesInVM(1L);
               incrementBucketStats(region, 1/*InVM*/, 0/*OnDisk*/, 0/*overflowBytesOnDisk*/);


Mime
View raw message