How to Check the Progress of the flashback cluster Command?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: flashback cluster命令的进度该如何查询?

| username: TiDBer_Bj7TDCTL

[TiDB Usage Environment] Test Environment
[TiDB Version] 7.1.1
[Reproduction Path] What operations were performed to cause the issue
[Encountered Issue: Phenomenon and Impact] After executing the FLASHBACK CLUSTER TO TIMESTAMP command, how to confirm the progress of the flashback, such as the percentage? Currently, checking the TiKV logs, you can get logs like
[2023/12/10 17:28:20.968 +08:00] [INFO] [apply.rs:1690] [“execute admin command”] [command=“cmd_type: FinishFlashback”] [index=21] [term=6] [peer_id=4358268] [region_id=4358265]
[2023/12/10 17:28:20.973 +08:00] [INFO] [apply.rs:1690] [“execute admin command”] [command=“cmd_type: FinishFlashback”] [index=21] [term=6] [peer_id=4358276] [region_id=4358273]

See the attachment for the complete log
[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]

test.log (15.9 KB)

| username: zhanggame1 | Original post link

The image is not visible. Please provide the text you need translated.

| username: dba远航 | Original post link

If you can find the maximum index number and compare it with the logs, it should be fine.

| username: TiDBer_Bj7TDCTL | Original post link

I did not see logs similar to “flashback cluster stats” or “complete regions” in the logs of TiKV, PD, and TiDB. The attachment contains all log fragments from the start to the completion of executing flashback cluster in the test environment.

| username: zhanggame1 | Original post link

That might be an issue with the official documentation. You can suggest it there.