print MasterTermStartTime in ListAllTablets and show vitess_tablets#6135
print MasterTermStartTime in ListAllTablets and show vitess_tablets#6135deepthi merged 3 commits intovitessio:masterfrom
show vitess_tablets#6135Conversation
show vitess_tablets
|
I think a lot of people may have scripts that awk the output of ListAllTablets, since it's specifically documented as being "awk-friendly" and the format has been stable for many years. If we change existing columns like this, we should make sure to surface this as an "action required" release note, if not a breaking change. Alternatively, if we add new info as additional columns at the end, it should be backwards-compatible. Is there a reason we didn't want to do that? |
Good point. The only reason for the chosen format was to keep the timestamp close to the tablet_type. We can change it and move it to the end. |
ListShardTablets. In case of an old master, we replace the timestamp displayed with "defunct". Also show MasterTermStartTime in output of "show vitess_tablets" from vtgate. Signed-off-by: deepthi <deepthi@planetscale.com>
… output Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Sample output:
Signed-off-by: deepthi deepthi@planetscale.com