yurinaryshkin commented on code in PR #10798:
URL: https://github.com/apache/ignite/pull/10798#discussion_r1259801677
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/serializer/RecordV2Serializer.java:
##########
@@ -266,7 +265,7 @@ private static WALPointer readPositionAndCheckPoint(
int fileOff = in.readInt();
int len = in.readInt();
- if (!F.eq(idx, expPtr.index()) || (!skipPositionCheck &&
!F.eq(fileOff, expPtr.fileOffset())))
+ if (expPtr != null && (!F.eq(idx, expPtr.index()) ||
(!skipPositionCheck && !F.eq(fileOff, expPtr.fileOffset()))))
Review Comment:
Reverted this change. Also changed ByteBufferWalIterator so that it expects
segment and offset.
--
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]