You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
THardy98 opened this issue
Jul 12, 2023
· 0 comments
Assignees
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-supportWould prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
We need to refresh the nodes information on the databases page to reflect changes to the nodes' status. In the case of the support ticket that originated this, decommissioned nodes.
From the images above we can see that node 17 is decommissioned but still displays on the UI.
THardy98
added
O-support
Would prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
and removed
C-escalation-improvement
Having this feature would have made an escalation easier
labels
Jul 12, 2023
106778: cluster-ui: skip undefined regions on database pages r=THardy98 a=THardy98
Epic: None
Addresses: #106697
This patch skips `undefined` regions on the databases pages. The `undefined` behaviour occurs when we try to match a database's node IDs (i.e. the nodes with ranges that contain data belong to one of the database's tables) from the database details endpoint, to nodes' region information from the nodes endpoint.
The nodes endpoint is authoritative and is refreshed at a regular interval. However, the database details endpoint is only fetched once on page load, and it's node information comes from a cache, leading to the potential of stale data (this information is authoritative in 23.1, but not in 22.2).
Consequently when trying to match cached node IDs with recent node regions information, we can come across behaviour where we try to get region information for a node ID that is no longer valid (i.e. in the case of a decommissioned node), resulting in `undefined` and surfacing outdated node information.
This change ensures that when we encounter such occurrences, we avoid displaying them in the console.
Release note (bug fix): Avoid displaying `undefined` regions on the databases pages.
Co-authored-by: Thomas Hardy <[email protected]>
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-supportWould prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
CockroachDB Version: v22.2.9
We need to refresh the nodes information on the databases page to reflect changes to the nodes' status. In the case of the support ticket that originated this, decommissioned nodes.
From the images above we can see that node 17 is decommissioned but still displays on the UI.
Jira issue: CRDB-29683
The text was updated successfully, but these errors were encountered: