Skip to content

Commit 0aa8e10

Browse files
committed
Revert "HBASE--28666 Dropping unclosed WALTailingReaders leads to leaked sockets (#5994)"
This reverts commit 564887f.
1 parent 564887f commit 0aa8e10

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ private HasNext prepareReader() {
220220
// we will read from the beginning so we should always clear the compression context
221221
reader.resetTo(-1, true);
222222
}
223-
return HasNext.YES;
224223
} catch (FileNotFoundException e) {
225224
// For now, this could happen only when reading meta wal for meta replicas.
226225
// In this case, raising UncheckedIOException will let the endpoint deal with resetting

0 commit comments

Comments
 (0)