alex-plekhanov commented on a change in pull request #6554: IGNITE-11073: 
Backup page store manager, initial
URL: https://github.com/apache/ignite/pull/6554#discussion_r335433139
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/managers/communication/AbstractTransmission.java
 ##########
 @@ -59,7 +59,7 @@ protected AbstractTransmission(
         A.notNull(meta, "Initial file meta cannot be null");
         A.notNullOrEmpty(meta.name(), "Trasmisson name cannot be empty or 
null");
         A.ensure(meta.offset() >= 0, "File start position cannot be negative");
-        A.ensure(meta.count() > 0, "Total number of bytes to transfer must be 
greater than zero");
+        A.ensure(meta.count() >= 0, "Total number of bytes to transfer must be 
greater than zero");
 
 Review comment:
   The message should be corrected as well to match condition

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


With regards,
Apache Git Services

Reply via email to