Attila Doroszlai created HDDS-6749:
--------------------------------------

             Summary: 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


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]

Reply via email to