cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

Inconsistent reporting in Web UI of Decommissioned Nodes

Open roncrdb opened this issue 7 years ago • 6 comments

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

roncrdb avatar Dec 17 '18 14:12 roncrdb

FYI this is presenting itself on a production cluster, though there is no negative impact to the application.

tim-o avatar Dec 17 '18 20:12 tim-o

Could you post ./cockroach debug gossip-values from the two nodes along with the info which nodeIDs are the decommissioned/dead ones?

tbg avatar Dec 17 '18 20:12 tbg

@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?

couchand avatar Jan 07 '19 20:01 couchand

The discrepancy arose when they connected to the web UI on different nodes. They weren't running a mixed-version cluster.

tim-o avatar Jan 07 '19 20:01 tim-o

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?

couchand avatar Jan 07 '19 20:01 couchand

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!

github-actions[bot] avatar Nov 23 '23 11:11 github-actions[bot]