private boolean invalid(double current, double next, String resource, double loadIncreasePerNode,
                            StringBuilder changes) {
        if (loadIncreasePerNode * current / next > maxAllowedUtilizationIncrease) {
            if (current != next)
                changes.append("from ").append(current).append(" to ").append(next)
                       .append(" ").append(resource).append(" per node, ");
            return true;
        }
        return false;
    }
Checks that resources per document per node is reduced too much in one go.

@author bratseth
config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/ResourcesReductionValidator.java