-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Display TServer clock information in yb-master ui #6772
Comments
Implementation pointers on this (based on discussions with @spolitov ):
We typically use
and from there, the current value can be obtained thus:
yugabyte-db/src/yb/server/hybrid_clock.h Line 145 in fe4e4cc
and the now timestamp can be obtained via:
and subsequently via
Here's the master side logic when a TServer heartbeat is received.
These TSDescriptor fields can then be used to drive the UI logic. |
I am interested in working on this issue. I will try to submit a patch for it in the next couple of days. |
Thanks @VishnuK007! Assigned to you. |
Display tserver clock information in yb-master UI PR #6776
Display tserver clock information in yb-master UI PR yugabyte#6776
For debugging purposes, it'll be useful to add a new view say -- http://yb-master:7000/tablet-server-clocks) to visually display the clocks of the various TServers, that provides the following data for each tablet server:
The text was updated successfully, but these errors were encountered: