Open lance6716 opened 3 months ago
by the KV format of non-unique index, there's no need to check non-unique index KV overwritten because values are always empty
https://github.com/pingcap/tidb/blob/afd8de1f62188516b8bdc50c292262a20b33bd0c/pkg/lightning/backend/local/duplicate.go#L721-L725
we can skip for non-unique index here
/cc @lyzx2001
by the KV format of non-unique index, there's no need to check non-unique index KV overwritten because values are always empty
https://github.com/pingcap/tidb/blob/afd8de1f62188516b8bdc50c292262a20b33bd0c/pkg/lightning/backend/local/duplicate.go#L721-L725
we can skip for non-unique index here