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 bed9c0fc76f1..7a440750f63d 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 @@ private void dequeueCurrentLog() throws IOException { } closeReader(); logQueue.remove(); + setCurrentPath(null); setPosition(0); metrics.decrSizeOfLogQueue(); }