# [Known-Issues]The binlog_drainer_checkpoint_tso no change for 1m alters in binlog when filter most of the tables

## Key Words

binlog, drainer, "binlog_drainer_checkpoint", "binlog_drainer_checkpoint_tso_no_change", "binlog_drainer_checkpoint_tso_no_change_for", "filter most of the tables", binlog 同步延迟

## Description

Get alerts like binlog_drainer_checkpoint_tso_no_change_for_1m, binlog_drainer_checkpoint_tso_no_change_for_5m when filter most of the tables in binlog.

## Root Cause

如果 drainer 有开启黑白名单机制，即开启了filter 表的配置，且上游持续有写入的情况下，checkpoint 会出现更新不及时的情况，触发相关告警，但实际上数据是同步的。

## Diagnostic Steps

1. Drainer 开启了 filter 设置，且过滤了大部分的表，或者只同步少量的表。
2. 在上游持续有写入的时候，接收到 checkpoint 没有及时更新的相关告警。
3. 查看监控 Pump Handle TSO，时间点为最新的实际时间，可以确认 binlog 在正常工作。

## Resolution

告警可以忽略，或者升级到相关版本，[https://github.com/pingcap/tidb-binlog/pull/1069](https://github.com/pingcap/tidb-binlog/pull/1069)

## Workaround

实际上数据是同步的，可以忽略该告警。

## Affected Version

v4.0, v5.0, v5.1, v5.2