The --uptime option in tiup cannot display the uptime of TiFlash

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

Original topic: tiup 指定选项–uptime 无法显示tiflash的uptime

| username: Raymond

Cluster version: 6.1.2
tiup version: tiup-v1.11

I have a question. When using tiup --uptime to check the uptime of various components in the cluster, I noticed that the uptime for tiflash is not displayed, while it is shown for other components. Has anyone encountered this situation before?

I briefly looked at the tiup source code and found that there is no special handling for tiflash.

| username: hey-hoho | Original post link

I checked the latest code on GitHub and found that the uptime for TiFlash has not been implemented:

Other components like TiKV have it implemented:

I suspect this is the issue.

| username: Raymond | Original post link

The expert is right, thank you, expert.

| username: srstack | Original post link

Future versions will fix this issue~

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.