From 9626b531ec5f301d682f303fad1691fdd43d26ee Mon Sep 17 00:00:00 2001 From: lidezhu Date: Thu, 2 Jan 2025 15:01:19 +0800 Subject: [PATCH] add some log --- cdc/entry/schema/snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdc/entry/schema/snapshot.go b/cdc/entry/schema/snapshot.go index b74dded5791..6cde787dd25 100644 --- a/cdc/entry/schema/snapshot.go +++ b/cdc/entry/schema/snapshot.go @@ -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)) if filter.ShouldIgnoreSchema(dbinfo.Name.O) { log.Debug("ignore database", zap.Stringer("db", dbinfo.Name), zap.Stringer("changefeed", id)) continue