Skip to content

Commit 64eab33

Browse files
authored
Remove All Binlog References from CDC Documentation (pingcap#18663)
1 parent cb663aa commit 64eab33

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

dr-secondary-cluster.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,20 @@ TiDB 目前还没有提供 DR Dashboard,你可以通过以下 Dashboard 了解
296296
2. 业务写入完全停止后,查询 TiDB 集群当前最新的 TSO (`Position`):
297297

298298
```sql
299-
mysql> show master status;
300-
+-------------+--------------------+--------------+------------------+-------------------+
301-
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB | Executed_Gtid_Set |
302-
+-------------+--------------------+--------------+------------------+-------------------+
303-
| tidb-binlog | 438223974697009153 | | | |
304-
+-------------+--------------------+--------------+------------------+-------------------+
305-
1 row in set (0.33 sec)
299+
BEGIN; SELECT TIDB_CURRENT_TSO(); ROLLBACK;
300+
```
301+
302+
```sql
303+
Query OK, 0 rows affected (0.00 sec)
304+
305+
+--------------------+
306+
| TIDB_CURRENT_TSO() |
307+
+--------------------+
308+
| 452654700157468673 |
309+
+--------------------+
310+
1 row in set (0.00 sec)
311+
312+
Query OK, 0 rows affected (0.00 sec)
306313
```
307314

308315
3. 轮询 Changefeed `dr-primary-to-secondary` 的同步位置时间点 TSO 直到满足 `TSO >= Position`

0 commit comments

Comments
 (0)