Inconsistent reporting in Web UI of Decommissioned Nodes
Describe the problem Inconsistent reporting of nodes inactive nodes.
Please describe the issue you observed, and any steps we can take to reproduce it: The UI is showing inconsistent information for inactive nodes. One version shows the inactive nodes as DEAD while the other shows them as DECOMMISSIONED. The user had decommissioned the nodes in the past. Currently they are on version 2.1.2, but this was happening before the upgrade. The difference in reporting of inactive nodes is happening from two different machines.
To Reproduce
What did you do? Describe in your own words.
n/a If possible, provide steps to reproduce the behavior:
n/a
Expected behavior Inactive nodes that are decommissioned should show as DECOMMISSIONED throughout the UI when accessing it from different machines.
Additional data / screenshots This first screenshot shows nodes as decommissioned
Second screenshotshows decommissioned nodes as dead, which seems to be inconsistent if the nodes were also decommissioned.
cc: @tbg
Jira issue: CRDB-4700
FYI this is presenting itself on a production cluster, though there is no negative impact to the application.
Could you post ./cockroach debug gossip-values from the two nodes along with the info which nodeIDs are the decommissioned/dead ones?
@roncrdb can you provide a few more details about how the web UI was accessed. Is the discrepancy arising when they connect to the web UI on different nodes? I am confused by the phrase "One version shows". Are they running a mixed-version cluster?
The discrepancy arose when they connected to the web UI on different nodes. They weren't running a mixed-version cluster.
Thanks for the clarification @tim-o. This seems likely to be related to some nodes not receiving the gossiped liveness information, which is why @tbg was asking to see the raw gossip details.
Do we know what command was executed to perform decommissioning? Did they explicitly add a --wait flag?
We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!