[ https://issues.apache.org/jira/browse/HBASE-19923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358144#comment-16358144 ]
Guanghao Zhang commented on HBASE-19923: ---------------------------------------- [~Apache9] Any more comments? > Reset peer state and config when refresh replication source failed > ------------------------------------------------------------------ > > Key: HBASE-19923 > URL: https://issues.apache.org/jira/browse/HBASE-19923 > Project: HBase > Issue Type: Bug > Components: Replication > Affects Versions: 3.0.0 > Reporter: Guanghao Zhang > Assignee: Guanghao Zhang > Priority: Major > Attachments: HBASE-19923.master.001.patch, > HBASE-19923.master.001.patch, HBASE-19923.master.002.patch, > HBASE-19923.master.003.patch > > > Now we use procedure for replication. When peer state changed, the RS will > read peer state from storage to cache. If RS found the peer state changed, > then it will refresh replication source. If refresh failed, the Master will > retry the procedure. Then RS will read peer state again, but now the peer > state in cache is right. So it don't refresh replication source...... So we > need reset the peer state to old peer state when refresh failed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)