You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/14 06:14:00 UTC
[jira] [Updated] (HDDS-6749) SCM includes itself as peer in addSCM request
[ https://issues.apache.org/jira/browse/HDDS-6749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-6749:
---------------------------------
Labels: pull-request-available (was: )
> SCM includes itself as peer in addSCM request
> ---------------------------------------------
>
> Key: HDDS-6749
> URL: https://issues.apache.org/jira/browse/HDDS-6749
> Project: Apache Ozone
> Issue Type: Bug
> Components: SCM HA
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Critical
> Labels: pull-request-available
>
> SCM during start sends addSCM request to its peers. It tries to exclude itself from the target list:
> {code:title=https://github.com/apache/ozone/blob/40461504478182af509db7098d4e173011d27e5a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HAUtils.java#L119-L121}
> OzoneConfiguration config = SCMHAUtils.removeSelfId(conf, selfId);
> try {
> return getScmBlockClient(config).addSCM(request);
> {code}
> but {{removeSelfId}} does not work.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org