public void createServer(ServerName serverName) {
    serverMap.computeIfAbsent(serverName, key -> new ServerStateNode(key));
  }
Create the ServerStateNode when registering a new region server
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStates.java