gesterzhou commented on a change in pull request #6373:
URL: https://github.com/apache/geode/pull/6373#discussion_r621485646



##########
File path: 
geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java
##########
@@ -846,12 +846,12 @@ boolean processChunk(List entries, 
InternalDistributedMember sender)
       }
       List<Entry> entriesToSynchronize = new ArrayList<>();
 
+      if (internalDuringApplyDelta != null && 
!internalDuringApplyDelta.isRunning

Review comment:
       because I need to make sure processChunk is called. If I did not move 
out of the loop, if the entryCount is 0, the testHook will not be called. I 
don't want to introduce another testHook. 
   
   I care if processChunk is call more than if there's any data in chunk. 




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


Reply via email to