@Override
        public Optional<Integer> getStat(Path path) {
            return get(stats, path, () -> curator.getStat(path).map(Stat::getVersion));
        }
Create an empty snapshot at a given generation (as an empty snapshot is a valid partial snapshot)
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/CachingCurator.java