Skip to content

Commit

Permalink
add some log
Browse files Browse the repository at this point in the history
  • Loading branch information
lidezhu committed Jan 2, 2025
1 parent 7909a4a commit 9626b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/entry/schema/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func NewSnapshotFromMeta(
// `tag` is used to reverse sort all versions in the generated snapshot.
tag := negative(currentTs)
for _, dbinfo := range dbinfos {
log.Info("load database", zap.Int64("dbID", dbinfo.ID), zap.Stringer("db", dbinfo.Name), zap.Stringer("changefeed", id))
log.Info("load database", zap.Uint64("currentTs", currentTs), zap.Int64("dbID", dbinfo.ID), zap.Stringer("db", dbinfo.Name), zap.Stringer("changefeed", id))

Check warning on line 137 in cdc/entry/schema/snapshot.go

View check run for this annotation

Codecov / codecov/patch

cdc/entry/schema/snapshot.go#L137

Added line #L137 was not covered by tests
if filter.ShouldIgnoreSchema(dbinfo.Name.O) {
log.Debug("ignore database", zap.Stringer("db", dbinfo.Name), zap.Stringer("changefeed", id))
continue
Expand Down

0 comments on commit 9626b53

Please sign in to comment.