mirror of https://github.com/tikv/client-go.git
txnkv: fix a bug that commitTSUpperBoundCheck err not handled (#564)
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> Co-authored-by: Yilin Chen <sticnarf@gmail.com>
This commit is contained in:
parent
2ed2113d10
commit
516cfcdecc
|
|
@ -1547,6 +1547,7 @@ func (c *twoPhaseCommitter) execute(ctx context.Context) (err error) {
|
|||
if !c.txn.commitTSUpperBoundCheck(commitTS) {
|
||||
err = errors.Errorf("session %d check commit ts upper bound fail, txnStartTS: %d, comm: %d",
|
||||
c.sessionID, c.startTS, c.commitTS)
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue