code: func getNowTSO(ctx sessionctx.Context) (uint64, error) {
  	currVer, err := ctx.GetStore().CurrentVersion()
  	if err != nil {
  		return 0, errors.Trace(err)
  	}
  	return currVer.Ver, nil
  }
docs: // getNowTS gets the current timestamp, in TSO.