code: func NewTiKVAndPDClient(cluster *Cluster, mvccStore MVCCStore, path string) (*RPCClient, pd.Client, error) {
  	if cluster == nil {
  		cluster = NewCluster()
  		BootstrapWithSingleStore(cluster)
  	}
  
  	if mvccStore == nil {
  		var err error
  		mvccStore, err = NewMVCCLevelDB(path)
  		if err != nil {
  			return nil, nil, errors.Trace(err)
  		}
  	}
  
  	return NewRPCClient(cluster, mvccStore), NewPDClient(cluster), nil
  }
docs: // NewTiKVAndPDClient creates a TiKV client and PD client from options.