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

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

commit a4adde11314765a07ce730c182b627050e5fe87a
Author: Duo Zhang <[email protected]>
AuthorDate: Sun Jun 16 17:13:48 2024 +0800

    Revert "HBASE--28666 Dropping unclosed WALTailingReaders leads to leaked 
sockets (#5994)"
    
    This reverts commit 5db6e5e762608d891c7f3fb3f380420b5671d099.
---
 .../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