You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/02/14 23:34:35 UTC
[GitHub] [incubator-hudi] ramachandranms commented on a change in pull
request #1332: [HUDI -409] Match header and footer block length to improve
corrupted block detection
ramachandranms commented on a change in pull request #1332: [HUDI -409] Match header and footer block length to improve corrupted block detection
URL: https://github.com/apache/incubator-hudi/pull/1332#discussion_r379689535
##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFileReader.java
##########
@@ -362,13 +370,18 @@ public HoodieLogBlock prev() throws IOException {
// blocksize should read everything about a block including the length as well
try {
inputStream.seek(reverseLogFilePosition - blockSize);
+ // get the block size from head and match it with the block size from tail
Review comment:
talked offline. will create a new JIRA to address reverse reading issues
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services