public synchronized void removeServer(ServerLocation location, String memberId) {
    String[] groups = serverGroupMap.remove(location);
    /*
     * Adding null check for #41522 - we were getting a remove from a BridgeServer that was shutting
     * down and the ServerLocation wasn't in this map. The root cause isn't 100% clear but it might
     * be a race from profile add / remove from different channels.
     */
    if (groups != null) {
      removeFromMap(connectionLoadMap, groups, location, memberId);
      removeFromMap(queueLoadMap, groups, location);
    }
  }
Remove a server from the load snapshot.
geode-core/src/main/java/org/apache/geode/distributed/internal/LocatorLoadSnapshot.java