Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove All Binlog References from CDC Documentation (#18663) #18673

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions dr-secondary-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`。
Expand Down