Skip to content

Commit 243b967

Browse files
committed
add ver/conf_ver to log
Signed-off-by: gengliqi <gengliqiii@gmail.com>
1 parent 524fec6 commit 243b967

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/store/copr/batch_coprocessor.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,8 @@ func buildBatchCopTasksCore(bo *backoff.Backoffer, store *kvStore, rangesForEach
977977
needRetry = true
978978
fields := []zap.Field{
979979
zap.Uint64("region_id", task.region.GetID()),
980+
zap.Uint64("version", task.region.GetVer()),
981+
zap.Uint64("conf_ver", task.region.GetConfVer()),
980982
zap.String("reason", unavailableDetail.Reason.String()),
981983
}
982984
if len(unavailableDetail.StoreIDs) > 0 {

0 commit comments

Comments
 (0)