You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/05/11 22:56:00 UTC
[jira] [Updated] (HBASE-26905) ReplicationPeerManager#checkPeerExists should throw ReplicationPeerNotFoundException if peer doesn't exists
[ https://issues.apache.org/jira/browse/HBASE-26905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell updated HBASE-26905:
----------------------------------------
Fix Version/s: 2.5.0
3.0.0-alpha-3
Status: Patch Available (was: Open)
> ReplicationPeerManager#checkPeerExists should throw ReplicationPeerNotFoundException if peer doesn't exists
> -----------------------------------------------------------------------------------------------------------
>
> Key: HBASE-26905
> URL: https://issues.apache.org/jira/browse/HBASE-26905
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Reporter: Rushabh Shah
> Assignee: Rushabh Shah
> Priority: Major
> Fix For: 2.5.0, 3.0.0-alpha-3
>
>
> ReplicationPeerManager#checkPeerExists should throw ReplicationPeerNotFoundException if peer doesn't exists. Currently it throws generic DoNotRetryIOException.
> {code:java}
> private ReplicationPeerDescription checkPeerExists(String peerId) throws DoNotRetryIOException {
> ReplicationPeerDescription desc = peers.get(peerId);
> if (desc == null) {
> throw new DoNotRetryIOException("Replication peer " + peerId + " does not exist");
> }
> return desc;
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)