dlmarion commented on code in PR #5662:
URL: https://github.com/apache/accumulo/pull/5662#discussion_r2175152261
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java:
##########
@@ -207,8 +206,6 @@ public PausedCompactionMetrics getPausedCompactionMetrics()
{
private final BlockingDeque<ManagerMessage> managerMessages = new
LinkedBlockingDeque<>();
- volatile HostAndPort clientAddress;
-
private ServiceLock tabletServerLock;
private TServer server;
Review Comment:
I think this comment is OBE.
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java:
##########
@@ -772,15 +761,8 @@ public void run() {
}
}
- public String getClientAddressString() {
- if (clientAddress == null) {
- return null;
- }
- return clientAddress.getHost() + ":" + clientAddress.getPort();
- }
-
public TServerInstance getTabletSession() {
- String address = getClientAddressString();
+ String address = getAdvertiseAddress().toString();
if (address == null) {
Review Comment:
Changed this in b79033a
--
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]