From f465ef336416fe70265949252a9881ba502977ac Mon Sep 17 00:00:00 2001 From: Yiding Cui Date: Thu, 18 Oct 2018 16:38:28 +0800 Subject: [PATCH] store/tikv: log more information when other err occurs --- store/tikv/coprocessor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/tikv/coprocessor.go b/store/tikv/coprocessor.go index 8db253229aa69..02d89a82dd4df 100644 --- a/store/tikv/coprocessor.go +++ b/store/tikv/coprocessor.go @@ -730,7 +730,7 @@ func (worker *copIteratorWorker) handleCopResponse(bo *Backoffer, resp *copRespo } if otherErr := resp.pbResp.GetOtherError(); otherErr != "" { err := errors.Errorf("other error: %s", otherErr) - log.Warnf("coprocessor err: %v", err) + log.Warnf("txn_start_ts:%d region_id:%d store_addr:%s, coprocessor err: %v", worker.req.StartTs, task.region.id, task.storeAddr, err) return nil, errors.Trace(err) } // When the request is using streaming API, the `Range` is not nil.