rpuch commented on code in PR #847:
URL: https://github.com/apache/ignite-3/pull/847#discussion_r888844916
##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/datapage/ReadPageMemoryRowValue.java:
##########
@@ -86,8 +86,10 @@ private long readFully(long pageAddr, DataPagePayload
payload) {
}
private void readValueFragmentToArray(long pageAddr, DataPagePayload
payload, int offsetToValue) {
- PageUtils.getBytes(pageAddr, payload.offset() + offsetToValue,
allValueBytes, transferredBytes, payload.payloadSize());
- transferredBytes += payload.payloadSize();
+ int valueBytesToRead = payload.payloadSize() - offsetToValue;
Review Comment:
Thanks, added the assertion
--
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]