Skip to content

Commit

Permalink
[Debug] fix: using table name instead of wrong partition table name
Browse files Browse the repository at this point in the history
  • Loading branch information
qizhiwang committed May 18, 2021
1 parent 2961e61 commit b8bc09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/distsql.go
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ func (w *tableWorker) executeTask(ctx context.Context, task *lookupTableTask) er
}

logutil.Logger(ctx).Error("inconsistent index handles",
zap.String("table_name", task.partitionTable.Meta().Name.O),
zap.String("table_name", w.idxLookup.index.Table.O),
zap.String("index", w.idxLookup.index.Name.O),
zap.Int("index_cnt", handleCnt), zap.Int("table_cnt", len(task.rows)),
zap.String("missing_handles", fmt.Sprint(GetLackHandles(task.handles, obtainedHandlesMap))),
Expand Down

0 comments on commit b8bc09d

Please sign in to comment.