@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof StorageNodeImpl that)) return false;
        return Objects.equals(storageService, that.storageService);
    }
Only base it on the service instance, e.g. the cluster ID is included in its equals().
orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/StorageNodeImpl.java