Only unblock exchange readers when pages are added
@@ -318,8 +318,10 @@ public class ExchangeClient
pageBuffer.addAll(pages);
+ if (!pages.isEmpty()) {
// notify all blocked callers
notifyBlockedCallers();
+ }
long memorySize = pages.stream()
.mapToLong(SerializedPage::getRetainedSizeInBytes)
