mirror of https://github.com/tikv/client-go.git
transaction: update undetermined error log (#531)
* update undetermined error log Signed-off-by: Jack Yu <jackysp@gmail.com> * tiny change Signed-off-by: Jack Yu <jackysp@gmail.com>
This commit is contained in:
parent
be31f33ba0
commit
98a4e2776e
|
|
@ -1417,7 +1417,7 @@ func (c *twoPhaseCommitter) execute(ctx context.Context) (err error) {
|
|||
// RPCs fails. However, if there are multiple errors and some of the errors
|
||||
// are not RPC failures, we can return the actual error instead of undetermined.
|
||||
if undeterminedErr := c.getUndeterminedErr(); undeterminedErr != nil {
|
||||
logutil.Logger(ctx).Error("2PC commit result undetermined",
|
||||
logutil.Logger(ctx).Error("Async commit/1PC result undetermined",
|
||||
zap.Error(err),
|
||||
zap.NamedError("rpcErr", undeterminedErr),
|
||||
zap.Uint64("txnStartTS", c.startTS))
|
||||
|
|
|
|||
Loading…
Reference in New Issue