You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/04/01 09:17:18 UTC

[GitHub] [ozone] GlenGeng commented on pull request #2090: HDDS-5033. SCM may not be able to know full port list of Datanode after Datanode is started.

GlenGeng commented on pull request #2090:
URL: https://github.com/apache/ozone/pull/2090#issuecomment-811774644


   > @GlenGeng , can you explain why OzoneContainer#start() needs to be called multiple times if SCM HA is enabled for registering to the same SCM?
   
   Please check 
   ```
   public class SCMConnectionManager
       implements Closeable, SCMConnectionManagerMXBean {
     private static final Logger LOG =
         LoggerFactory.getLogger(SCMConnectionManager.class);
   
     private final ReadWriteLock mapLock;
     private final Map<InetSocketAddress, EndpointStateMachine> scmMachines;
   ```
   
   If SCM HA is enabled, there will be 3 VersionEndpointTask created, one for each SCM. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org