diff --git a/cdc/redo/meta_manager.go b/cdc/redo/meta_manager.go index 3f6f0c7563a..f1ad1acac72 100644 --- a/cdc/redo/meta_manager.go +++ b/cdc/redo/meta_manager.go @@ -72,7 +72,6 @@ type metaManager struct { startTs model.Ts lastFlushTime time.Time - flushIntervalInMs int64 cfg *config.ConsistentConfig metricFlushLogDuration prometheus.Observer } @@ -94,13 +93,12 @@ func NewMetaManager( } m := &metaManager{ - captureID: config.GetGlobalServerConfig().AdvertiseAddr, - changeFeedID: changefeedID, - uuidGenerator: uuid.NewGenerator(), - enabled: true, - flushIntervalInMs: cfg.FlushIntervalInMs, - cfg: cfg, - startTs: checkpoint, + captureID: config.GetGlobalServerConfig().AdvertiseAddr, + changeFeedID: changefeedID, + uuidGenerator: uuid.NewGenerator(), + enabled: true, + cfg: cfg, + startTs: checkpoint, } return m }