- Fixing memory leak due to HoodieLogFileReader holding on to a logblock
- Removed inMemory HashMap usage in merge(..) code in LogScanner
This commit is contained in:
committed by
vinoth chandar
parent
d3df32fa03
commit
123da020e2
@@ -374,6 +374,7 @@ public class HoodieLogFormatTest {
|
||||
assertEquals("Both records lists should be the same. (ordering guaranteed)", copyOfRecords1,
|
||||
dataBlockRead.getRecords());
|
||||
|
||||
reader.hasNext();
|
||||
nextBlock = reader.next();
|
||||
dataBlockRead = (HoodieAvroDataBlock) nextBlock;
|
||||
assertEquals("Read records size should be equal to the written records size",
|
||||
@@ -381,6 +382,7 @@ public class HoodieLogFormatTest {
|
||||
assertEquals("Both records lists should be the same. (ordering guaranteed)", copyOfRecords2,
|
||||
dataBlockRead.getRecords());
|
||||
|
||||
reader.hasNext();
|
||||
nextBlock = reader.next();
|
||||
dataBlockRead = (HoodieAvroDataBlock) nextBlock;
|
||||
assertEquals("Read records size should be equal to the written records size",
|
||||
|
||||
Reference in New Issue
Block a user