yurinaryshkin commented on code in PR #10798:
URL: https://github.com/apache/ignite/pull/10798#discussion_r1254627697


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/ByteBufferBackedDataInputImpl.java:
##########
@@ -44,22 +44,22 @@ public ByteBufferBackedDataInput buffer(ByteBuffer buf) {
 
     /** {@inheritDoc} */
     @Override public void ensure(int requested) throws IOException {
-        if (buf.remaining() < requested)
+        if (buffer().remaining() < requested)

Review Comment:
   Yes. Can be reverted. Just need minor change for `Crc32CheckingDataInput`.



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