pivotal-eshu commented on a change in pull request #7487:
URL: https://github.com/apache/geode/pull/7487#discussion_r838001580
##########
File path:
geode-core/src/main/java/org/apache/geode/internal/cache/DistributedRegion.java
##########
@@ -526,21 +526,36 @@ public boolean hasSeenEvent(EntryEventImpl event) {
isDuplicate = getEventTracker().hasSeenEvent(event);
if (isDuplicate) {
markEventAsDuplicate(event);
+ if (event.getVersionTag() == null &&
event.getRegion().getConcurrencyChecksEnabled()
+ && event.getEventId() != null) {
+ // For a retry, versionTag can be missing possibly due to no
versionTag recorded during gii.
+ findAndSetVersionTag(event);
+ if (event.getVersionTag() == null) {
+ logger.info("No version tag can be found in cluster when retrying
the following event {}",
+ event);
Review comment:
No, we should not see this -- only a very corner case.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]