sabbey37 commented on a change in pull request #6524: URL: https://github.com/apache/geode/pull/6524#discussion_r640723961
########## File path: geode-apis-compatible-with-redis/src/main/java/org/apache/geode/redis/internal/data/RedisSortedSet.java ########## @@ -87,7 +87,9 @@ protected void applyDelta(DeltaInfo deltaInfo) { membersAddAll(addsDeltaInfo); } else { RemsDeltaInfo remsDeltaInfo = (RemsDeltaInfo) deltaInfo; - membersRemoveAll(remsDeltaInfo); + for (byte[] member : remsDeltaInfo.getRemoves()) { + memberRemove(member); + } Review comment: Could we also update the way we're applying delta for adds so that it's consistent with how we've changed the removes, so eliminating the `membersAddAll` method and moving that logic into this method? -- 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: us...@infra.apache.org