You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/03/09 07:51:00 UTC

[jira] [Created] (HBASE-20167) Optimize the implementation of ReplicationSourceWALReader

Duo Zhang created HBASE-20167:
---------------------------------

             Summary: Optimize the implementation of ReplicationSourceWALReader
                 Key: HBASE-20167
                 URL: https://issues.apache.org/jira/browse/HBASE-20167
             Project: HBase
          Issue Type: Sub-task
          Components: Replication
            Reporter: Duo Zhang


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)