public void rewrite() {
        Instant start = clock.instant();
        int nodesWritten = performOn(list(), this::write).size();
        Instant end = clock.instant();
        log.log(Level.INFO, String.format("Rewrote %d nodes in %s", nodesWritten, Duration.between(start, end)));
    }
Read and write all nodes to make sure they are stored in the latest version of the serialized format
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/Nodes.java