Commit 64eab33 1 parent cb663aa commit 64eab33 Copy full SHA for 64eab33
File tree 1 file changed +14
-7
lines changed
1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -296,13 +296,20 @@ TiDB 目前还没有提供 DR Dashboard,你可以通过以下 Dashboard 了解
296
296
2 . 业务写入完全停止后,查询 TiDB 集群当前最新的 TSO (` Position` ):
297
297
298
298
` ` ` 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)
306
313
` ` `
307
314
308
315
3 . 轮询 Changefeed ` dr-primary-to-secondary` 的同步位置时间点 TSO 直到满足 ` TSO >= Position` 。
You can’t perform that action at this time.
0 commit comments