ChenSammi commented on code in PR #7145:
URL: https://github.com/apache/ozone/pull/7145#discussion_r1766630356
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/OzoneContainer.java:
##########
@@ -478,10 +478,10 @@ public void start(String clusterId) throws IOException {
replicationServer.start();
datanodeDetails.setPort(Name.REPLICATION, replicationServer.getPort());
- writeChannel.start();
- readChannel.start();
hddsDispatcher.init();
hddsDispatcher.setClusterId(clusterId);
+ writeChannel.start();
Review Comment:
@jianghuazhu thanks for reporting the issue and find the root cause.
If I understand it correctly, this order change is the key to fix the
problem, right? Any special reason that a ReentrantReadWriteLock is introduced
in Handler.java?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]