private static void validatePagedAttributes(DeployLogger logger, String clusterName, Schema schema) {
        List<Attribute> fields = schema.allFields()
                .flatMap(field -> pagedAttributes(field).stream())
                .collect(Collectors.toList());
        if (fields.isEmpty()) return;

        logger.logApplicationPackage(WARNING, ("Cluster '%s' has nodes with remote storage and fields with paged attributes." +
                " This might lead to performance issues when doing I/O." +
                " Consider using storage-type='local' or removing 'paged' setting for these fields: %s")
                .formatted(clusterName, join(fields)));
    }
Validates and logs a warning (with deploy logger) when paged attributes are used in a
content cluster with nodes with remote storage

@author hmusum
config-model/src/main/java/com/yahoo/vespa/model/application/validation/PagedAttributesRemoteStorageValidator.java