timoninmaxim commented on code in PR #11294:
URL: https://github.com/apache/ignite/pull/11294#discussion_r1555956918
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/AbstractFileIO.java:
##########
@@ -57,14 +57,29 @@ private int fully(IOOperation operation, long position, int
num, boolean write)
time = 0;
}
else if (n == 0 || i > 0) {
+ /* Condition for reaching the end of file while there's still
space in buffer
Review Comment:
Which buffer do you mean - this method doesn't operate buffer. Actually,
this code doesn't need in comments, it is pretty straightforward. You can make
this code better if add javadoc for the return value
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]