code: func (lr *LockResolver) GetTxnStatus(txnID uint64, primary []byte) (TxnStatus, error) {
  	bo := NewBackoffer(context.Background(), cleanupMaxBackoff)
  	status, err := lr.getTxnStatus(bo, txnID, primary)
  	return status, errors.Trace(err)
  }
docs: // GetTxnStatus queries tikv-server for a txn's status (commit/rollback).
  // If the primary key is still locked, it will launch a Rollback to abort it.
  // To avoid unnecessarily aborting too many txns, it is wiser to wait a few
  // seconds before calling it after Prewrite.