Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20046 Reconsider the implementation for serial replication
  3. HBASE-20167

Optimize the implementation of ReplicationSourceWALReader

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.1.0
    • Replication
    • None
    • Reviewed

    Description

      After HBASE-20148, serial replication will be an option for peer. Since an instance of ReplicationSourceWALReader can only belongs to one peer, we do not need to add the so many 'if' in the implementation of readWALEntries to check whether we should consider serial replication. We can just make a sub class or something similiar for serial replication to make the code clean.

      Attachments

        1. HBASE-20167-v2.patch
          30 kB
          Duo Zhang
        2. HBASE-20167-v1.patch
          30 kB
          Duo Zhang
        3. HBASE-20167.patch
          24 kB
          Duo Zhang

        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: