nabarunnag commented on a change in pull request #7235:
URL: https://github.com/apache/geode/pull/7235#discussion_r778326793



##########
File path: 
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java
##########
@@ -5237,6 +5237,9 @@ public boolean basicBridgePut(Object key, Object value, 
byte[] deltaBytes, boole
       if (success) {
         clientEvent.setVersionTag(event.getVersionTag());
         getCachePerfStats().endPut(startPut, event.isOriginRemote());
+      } else if (clientEvent.isConcurrencyConflict() && 
clientEvent.isPossibleDuplicate()
+          && clientEvent.getVersionTag() == null) {

Review comment:
       Barry in line 5209 we set the 
event.setVersionTag(clientEvent.getVersionTag()) and then here we do the 
reverse. I was wondering if it was already set. 
   Also in GatewayReceiverCommand, the clientEvent.versionTag is set as 
VersionTag.create(region.getVersionMember());
   Was just wondering what the difference is these two ways.
   




-- 
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]


Reply via email to