Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28114

Add more comments to explain why replication log queue could never be empty for normal replication queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0, 3.0.0-beta-1
    • Replication
    • None
    • Reviewed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: