mhansonp commented on a change in pull request #6042:
URL: https://github.com/apache/geode/pull/6042#discussion_r580658477
##########
File path:
geode-core/src/main/java/org/apache/geode/internal/cache/TombstoneService.java
##########
@@ -749,7 +751,8 @@ protected boolean hasExpired(long
msTillHeadTombstoneExpires) {
testHook_forceExpirationCount--;
return true;
}
- return msTillHeadTombstoneExpires <= 0;
+ // In case
+ return msTillHeadTombstoneExpires <= 0 || msTillHeadTombstoneExpires >
EXPIRY_TIME;
Review comment:
Yup, I lost the comments some how, so I am putting them in now. I agree
this abates the symptom. I don't prefer this approach, but at the same time,
this will help people with their problem that should not be happening. We were
suspicious this had to do with clock time adjustments, but we are still
theorizing. This will keep their system from locking up though for a condition
we can safely handle in this part of the system with sanity checking. Otherwise
intervention is required when this problem arises. Also to be blunt, the
current approach while fast is lacking in fault tolerance.
----------------------------------------------------------------
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:
[email protected]