docs: public CompletableFuture<Void> snapshot() {
      RaftPartitionServer server = this.server;
      if (server != null) {
        return server.snapshot();
      }
      return CompletableFuture.completedFuture(null);
    }