dschneider-pivotal commented on a change in pull request #7172:
URL: https://github.com/apache/geode/pull/7172#discussion_r771591825



##########
File path: 
geode-for-redis/src/main/java/org/apache/geode/redis/internal/data/AbstractRedisData.java
##########
@@ -241,6 +243,11 @@ public void fromDelta(DataInput in) throws IOException, 
InvalidDeltaException {
       case SET_BYTE_ARRAY_AND_TIMESTAMP:
         SetByteArrayAndTimestamp.deserializeFrom(in, this);
         break;
+      case REPLACE_BYTE_ARRAYS:
+        synchronized (this) {

Review comment:
       Given the other changes you are making (i.e. replacing the MemberSet 
with a brand new one instead of clearing and adding the byte arrays to an 
existing MemberSet) you no longer need to add this "synchronized".




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