docs: public RaftClusterContext commit() {
      // Apply the configuration to the local server state.
      raft.transition(member.getType());
      if (!configuration.members().contains(member) && leaveFuture != null) {
        leaveFuture.complete(null);
      }
  
      // If the local stored configuration is older than the committed configuration, overwrite it.
      if (raft.getMetaStore().loadConfiguration().index() < configuration.index()) {
        raft.getMetaStore().storeConfiguration(configuration);
      }
      return this;
    }