You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2023/09/27 08:15:00 UTC

[jira] [Created] (HBASE-28114) Replication log reader should not simply quit when queue is empty

Duo Zhang created HBASE-28114:
---------------------------------

             Summary: Replication log reader should not simply quit when queue is empty
                 Key: HBASE-28114
                 URL: https://issues.apache.org/jira/browse/HBASE-28114
             Project: HBase
          Issue Type: Bug
          Components: Replication
            Reporter: Duo Zhang
            Assignee: Duo Zhang
             Fix For: 2.6.0, 3.0.0-beta-1


In HBASE-28037, [~Xiaolin Ha] found that there could be a very small window that even for a normal replication source, its queue could be empty.

This is because we will only enqueue the wal file to the queue in postLogRoll, where the old WAL writer has already been closed, so if the replication is fast enough, we could reach the end of the queue before enqueuing the new wal file.

The code for branch-2+ has been refactored a lot so we opened a new issue for fixing this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)