Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presenting zero token nodes #2412

Open
2 tasks
tzach opened this issue Oct 9, 2024 · 8 comments
Open
2 tasks

Presenting zero token nodes #2412

tzach opened this issue Oct 9, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@tzach
Copy link
Contributor

tzach commented Oct 9, 2024

scylladb/scylladb#19684 adds zero token nodes to ScyllaDB. In this project, we need to:

  • Make sure zero token nodes do not break the current panels.
    For example, the average storage chart should not include zero token nodes.

  • Visually present which nodes have tokens and which are not

First is more urgent;
Second, it needs some (subtle?) design.

@tzach tzach added the enhancement New feature or request label Oct 9, 2024
@amnonh
Copy link
Collaborator

amnonh commented Oct 10, 2024

@tzach, we need a metric that shows such nodes. We can see nodes that have zero tablets, but I'm not sure if that's enough

@mykaul
Copy link
Contributor

mykaul commented Oct 10, 2024

I'm not sure what's the value here (in monitoring) to show them uniquely. The value is perhaps for debugging, to see why they do not participate in any workload? If anything, we might consider how we can filter them out from some averages, etc.?

@amnonh
Copy link
Collaborator

amnonh commented Oct 10, 2024

Maybe in the nodes table should appear differently?

@tzach
Copy link
Contributor Author

tzach commented Oct 10, 2024

Its true that for most cases, and most of the time, a node is a node, but as a Scylla user, the impact of a data node down, or a zero-token down is different.

@mykaul
Copy link
Contributor

mykaul commented Oct 10, 2024

Its true that for most cases, and most of the time, a node is a node, but as a Scylla user, the impact of a data node down, or a zero-token down is different.

But also in the metrics of anything that is averaged, such as load or whatnot at the cluster level.

@amnonh
Copy link
Collaborator

amnonh commented Nov 20, 2024

@patjed41 do we have some indications in the metrics for such a node?

@patjed41
Copy link

@patjed41 do we have some indications in the metrics for such a node?

I don't think we have a metric that could be used to distinguish zero-token nodes from token-owning nodes easily and precisely. We can add a new metric if needed. It could show the number of tokens or just be two-valued: 0 for zero-token nodes, 1 for token-owning nodes.

@amnonh
Copy link
Collaborator

amnonh commented Nov 28, 2024

If we add a metric we can make it a counter of the number of tokens, we can probably have one per node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants