Skip to content

Commit

Permalink
mounter: ignore the error when the index info is not found (#777) (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoppro authored Jul 20, 2020
1 parent 4fa481f commit 453c96c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cdc/entry/mounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ func (m *mounterImpl) mountIndexKVEntry(tableInfo *TableInfo, idx *indexKVEntry)

indexInfo, exist := tableInfo.GetIndexInfo(idx.IndexID)
if !exist {
return nil, errors.NotFoundf("index info %d", idx.IndexID)
log.Warn("index info not found", zap.Int64("indexID", idx.IndexID))
return nil, nil
}

if !tableInfo.IsIndexUnique(indexInfo) {
Expand Down

0 comments on commit 453c96c

Please sign in to comment.