Skip to content

Commit

Permalink
store/tikv: log for async commit recovery (#19925)
Browse files Browse the repository at this point in the history
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
  • Loading branch information
youjiali1995 and ti-srebot authored Sep 10, 2020
1 parent 0859e75 commit c308a18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions store/tikv/lock_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,8 @@ func (lr *LockResolver) resolveLockAsync(bo *Backoffer, l *Lock, status TxnStatu
return errors.Trace(err)
}

logutil.BgLogger().Info("resolve async commit", zap.Uint64("startTS", l.TxnID), zap.Uint64("commitTS", status.commitTS))

errChan := make(chan error, len(keysByRegion))
// Resolve every lock in the transaction.
for region, locks := range keysByRegion {
Expand Down

0 comments on commit c308a18

Please sign in to comment.