[
https://issues.apache.org/jira/browse/HDDS-6749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-6749:
-----------------------------------
Fix Version/s: 1.3.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Fix For: 1.3.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]