This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 0aa8e105cbb9c2e0fc3a1f6e4b07bde6559e6dbd
Author: Duo Zhang <[email protected]>
AuthorDate: Sun Jun 16 17:14:25 2024 +0800

    Revert "HBASE--28666 Dropping unclosed WALTailingReaders leads to leaked 
sockets (#5994)"
    
    This reverts commit 564887fed82081079ca76b100ce4636810742620.
---
 .../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
index 1b8562bab33..6068f23ace8 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
@@ -220,7 +220,6 @@ class WALEntryStream implements Closeable {
             // we will read from the beginning so we should always clear the 
compression context
             reader.resetTo(-1, true);
           }
-          return HasNext.YES;
         } catch (FileNotFoundException e) {
           // For now, this could happen only when reading meta wal for meta 
replicas.
           // In this case, raising UncheckedIOException will let the endpoint 
deal with resetting

Reply via email to