adoroszlai commented on code in PR #9601:
URL: https://github.com/apache/ozone/pull/9601#discussion_r2668680313
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java:
##########
@@ -572,7 +570,7 @@ public void start() throws IOException {
if (streamEnable) {
DataStreamServerRpc dataStreamServerRpc =
server.getDataStreamServerRpc();
- dataStreamPort =
getRealPort(dataStreamServerRpc.getInetSocketAddress(),
+ getRealPort(dataStreamServerRpc.getInetSocketAddress(),
Review Comment:
I suggest renaming `getRealPort` to something like `updateDatanodePort`,
since now it's used only for its side-effect here.
--
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]