You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2020/10/14 21:01:24 UTC

[GitHub] [geode] mhansonp commented on a change in pull request #5623: GEODE-8607: Adding some test API to get oldest tombstone

mhansonp commented on a change in pull request #5623:
URL: https://github.com/apache/geode/pull/5623#discussion_r504969566



##########
File path: geode-core/src/main/java/org/apache/geode/internal/cache/TombstoneService.java
##########
@@ -450,6 +450,11 @@ boolean testHook_forceExpiredTombstoneGC(int count, long timeout, TimeUnit unit)
 
     @Override
     protected void beforeSleepChecks() {}
+
+    @Override
+    public long getOldestTombstoneTimeDelta() {
+      return tombstones.peek().getVersionTimeStamp() - cacheTime.cacheTimeMillis();

Review comment:
       I figured that it was one extra step that will always be done, but I will change it.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org