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

Query list of token_ranges, query by token_range #371

Closed
ddorian opened this issue Jul 9, 2018 · 4 comments
Closed

Query list of token_ranges, query by token_range #371

ddorian opened this issue Jul 9, 2018 · 4 comments
Assignees
Labels
kind/question This is a question

Comments

@ddorian
Copy link
Contributor

ddorian commented Jul 9, 2018

Is it possible to get a list of token-ranges on a table ? Hopefully along with a master_id column, so I can group by master-node ?

Then is it possible to query a table by token-range(s) (so I can be certain I'll query 1-x servers) by using the data from the query in the first question ?

regards,
ddorian

@kmuthukk
Copy link
Collaborator

kmuthukk commented Jul 9, 2018

@ddorian - by master_id - are you actually referring to the notion of "leader" for the tablet(s)? [In YugaByte DB, yb-master is another set of processes, which is also kept HA via Raft, and it is responsible for keeping system metadata and performing various admin/background tasks. So we are use the term leader (instead of master) to refer to the Raft leader(s).]

Please note this is being discussed here as another person asked something similar: #353 (comment)

@ddorian
Copy link
Contributor Author

ddorian commented Jul 10, 2018

Yes, leader.

Should I close this then ?

@kmuthukk
Copy link
Collaborator

Hi @ddorian - perhaps we can close this once we post a summary of the "HOW TO" for your question in this thread or simply document it in docs.yugabyte.com. Let's leave this open until then.

@kmuthukk kmuthukk added the kind/question This is a question label Jul 10, 2018
@kmuthukk kmuthukk added this to To Do in YCQL via automation Jul 10, 2018
@kmuthukk kmuthukk added this to To Do in YBase features via automation Jul 10, 2018
@ddorian
Copy link
Contributor Author

ddorian commented Oct 4, 2019

this is implemented in systems.partitions in YCQL.

@ddorian ddorian closed this as completed Oct 4, 2019
YCQL automation moved this from To Do to Done Oct 4, 2019
YBase features automation moved this from To Do to Done Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question This is a question
Projects
YCQL
  
Done
Development

No branches or pull requests

3 participants