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/04/24 02:51:00 UTC

[jira] [Commented] (HBASE-20434) Also remove remote wals when peer is in DA state

    [ https://issues.apache.org/jira/browse/HBASE-20434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449203#comment-16449203 ] 

Duo Zhang commented on HBASE-20434:
-----------------------------------

Talked with [~zghaobac] offline, a better way is always remove the remote wal when the wal name is for a sync replication peer, no matter whether it is in A or DA. Add we need to add UTs to confirm it.

> Also remove remote wals when peer is in DA state
> ------------------------------------------------
>
>                 Key: HBASE-20434
>                 URL: https://issues.apache.org/jira/browse/HBASE-20434
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Duo Zhang
>            Priority: Major
>
> Consider we have two clusters in A and S state, and then we transit A to DA. And later we want to transit DA to A, since the remote cluster is in S, we should be able to do it. But there are some remote wals on the HDFS for the cluster in S state, so we need to remove them first before transiting the cluster in DA state to A.



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