geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [geode] branch GEM-1722-1629 updated: Improve debugging info in verifyTombstoneCount
Date Thu, 07 Jun 2018 17:43:46 GMT
This is an automated email from the ASF dual-hosted git repository.

klund pushed a commit to branch GEM-1722-1629
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/GEM-1722-1629 by this push:
     new 116e747  Improve debugging info in verifyTombstoneCount
116e747 is described below

commit 116e747f7252e5f82cbd4c90e21ee3a8638f950c
Author: Kirk Lund <klund@apache.org>
AuthorDate: Thu Jun 7 10:43:08 2018 -0700

    Improve debugging info in verifyTombstoneCount
---
 .../java/org/apache/geode/internal/cache/AbstractRegionMap.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegionMap.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegionMap.java
index 0698ef8..c183a12 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegionMap.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegionMap.java
@@ -2587,13 +2587,13 @@ public abstract class AbstractRegionMap
       }
       if (deadEntries != numTombstones.get()) {
         if (logger.isInfoEnabled()) {
-          logger.info("tombstone count ({}) does not match actual number of tombstones ({})",
-              numTombstones, deadEntries, new Exception());
+          String message = "tombstone count (" + numTombstones + ") does not match actual
number of entries with tombstones (" + deadEntries + ")";
+          logger.info(message, new Exception(message));
         }
         return false;
       } else {
         if (logger.isInfoEnabled()) {
-          logger.info("tombstone count verified");
+          logger.info("tombstone count matches number of entries with tombstones");
         }
       }
     } catch (Exception e) {

-- 
To stop receiving notification emails like this one, please contact
klund@apache.org.

Mime
View raw message