Bug Report: /debug/health
in vtorc
returns false healthy state
#17121
Labels
/debug/health
in vtorc
returns false healthy state
#17121
Overview of the Issue
vtorc
will return a healthy state at/debug/health
when it starts with an incorrect topo configReturning
true
for health in this scenario can lead to the appearance ofvtorc
successfully deploying (if a deployment relies on/debug/health
, examples kube/docker) when it is actually unable to reach the topology, making it (in my opinion) unhealthyIn this scenario I'd prefer for VTOrc to return
"Healthy": false
. In a rolling deployment that checks/debug/health
this will mean a VTOrc deploy will fail on the 1st node instead of rolling out a bad config to all instances. I feel VTOrc must be able to do a trivial read from the topo, even if the topo is empty (no keyspaces/shards/tablets)Reproduction Steps
vtorc
is healthy:(notice it returns
"Healthy": true
)Binary Version
Operating System and Environment details
Log Fragments
The text was updated successfully, but these errors were encountered: