tkalkirill commented on code in PR #5782:
URL: https://github.com/apache/ignite-3/pull/5782#discussion_r2079147859


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/storage/PartitionScanPublisher.java:
##########
@@ -233,8 +233,9 @@ private CompletableFuture<Void> retrieveAndProcessBatch() {
         }
 
         private void processBatch(Collection<T> batch, int requestedCnt) {
-            assert batch != null;
-            assert batch.size() <= requestedCnt : "Rows more than requested " 
+ batch.size() + " " + requestedCnt;
+            assert batch != null : "Batch is null";

Review Comment:
   This message is not needed in general, but if you think it is necessary, I 
will not force it.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to