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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]