This is an automated email from the ASF dual-hosted git repository.
vjasani pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new 2d26c94 HBASE-25541 : Setting the path to null when we dequeue the
current log (#2959)
2d26c94 is described below
commit 2d26c94ef082396bbcb557b8b360260f27d8cf79
Author: Sandeep Pal <[email protected]>
AuthorDate: Wed Feb 17 22:23:52 2021 -0800
HBASE-25541 : Setting the path to null when we dequeue the current log
(#2959)
Signed-off-by: Bharath Vissapragada <[email protected]>
---
.../org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java | 1 +
1 file changed, 1 insertion(+)
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 bed9c0f..7a44075 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
@@ -267,6 +267,7 @@ public class WALEntryStream implements Iterator<Entry>,
Closeable, Iterable<Entr
}
closeReader();
logQueue.remove();
+ setCurrentPath(null);
setPosition(0);
metrics.decrSizeOfLogQueue();
}