Skip to content

Commit

Permalink
sink(ticdc): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Mar 3, 2022
1 parent c39549d commit 5492128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/entry/schema_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func newSchemaSnapshotFromMeta(meta *timeta.Meta, currentTs uint64, forceReplica
snap.tableInSchema[schemaID] = append(snap.tableInSchema[schemaID], tableInfo.ID)
tableInfo := model.WrapTableInfo(dbinfo.ID, dbinfo.Name.O, currentTs, tableInfo)
snap.tables[tableInfo.ID] = tableInfo
snap.tableNameToID[model.TableName{Schema: dbinfo.Name.O, Table: tableInfo.Name.O}] = tableInfo.ID
snap.tableNameToID[model.TableName{Schema: dbinfo.Name.O, Table: tableInfo.Name.O, TableID: tableInfo.ID, IsPartition: tableInfo.GetPartitionInfo() != nil}] = tableInfo.ID
isEligible := tableInfo.IsEligible(forceReplicate)
if !isEligible {
snap.ineligibleTableID[tableInfo.ID] = struct{}{}
Expand Down

0 comments on commit 5492128

Please sign in to comment.