Skip to content

Commit e1cf530

Browse files
committed
Addressing comments
1 parent c8e55d2 commit e1cf530

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFileReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private HoodieLogBlock readBlock() throws IOException {
163163
// We may have had a crash which could have written this block partially
164164
// Skip blockSize in the stream and we should either find a sync marker (start of the next
165165
// block) or EOF. If we did not find either of it, then this block is a corrupted block.
166-
boolean isCorrupted = isBlockCorrupt(blockStartPos, blocksize);
166+
boolean isCorrupted = isBlockCorrupt(blockSize);
167167
if (isCorrupted) {
168168
inputStream.seek(blockStartPos);
169169
return createCorruptBlock();

0 commit comments

Comments
 (0)