From 6c7745491efea174808ac19e673c695578bf4b6b Mon Sep 17 00:00:00 2001 From: wlwilliamx Date: Thu, 19 Sep 2024 18:59:51 +0800 Subject: [PATCH] docs(ticdc): remove binlog references from ticdc docs --- dr-secondary-cluster.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/dr-secondary-cluster.md b/dr-secondary-cluster.md index a3757a39f582..7f7c5a41efec 100644 --- a/dr-secondary-cluster.md +++ b/dr-secondary-cluster.md @@ -296,13 +296,20 @@ TiDB 目前还没有提供 DR Dashboard,你可以通过以下 Dashboard 了解 2. 业务写入完全停止后,查询 TiDB 集群当前最新的 TSO (`Position`): ```sql - mysql> show master status; - +-------------+--------------------+--------------+------------------+-------------------+ - | File | Position | Binlog_Do_DB | Binlog_Ignore_DB | Executed_Gtid_Set | - +-------------+--------------------+--------------+------------------+-------------------+ - | tidb-binlog | 438223974697009153 | | | | - +-------------+--------------------+--------------+------------------+-------------------+ - 1 row in set (0.33 sec) + BEGIN; SELECT TIDB_CURRENT_TSO(); ROLLBACK; + ``` + + ```sql + Query OK, 0 rows affected (0.00 sec) + + +--------------------+ + | TIDB_CURRENT_TSO() | + +--------------------+ + | 452654700157468673 | + +--------------------+ + 1 row in set (0.00 sec) + + Query OK, 0 rows affected (0.00 sec) ``` 3. 轮询 Changefeed `dr-primary-to-secondary` 的同步位置时间点 TSO 直到满足 `TSO >= Position`。