-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[docdb] master UI make hash_split more readable #4811
Comments
Hi, |
@adzimzf that would be perfectly fine! One suggestion, especially as this would be your first time contribution, might be useful to join our slack (http://yugabyte-db.slack.com/), as we could provide some more real time assistance in our #contributors channel. |
Thank you @bmatican, |
Hi @bmatican I've created a PR for this issue, |
(From #6223) To clarify, this issue does not need to concern itself with YSQL tables which currently show no bounds for hash partitioning. I can create a separate issue for that if none exists. |
Summary: Master UI make hash_split more readable Fix: #4811
The master UI table page shows tablets and their partitions. If the table is default hash partitioned to two tablets, the partitions show as
hash_split: [<start>, 32767)
andhash_split: [32767, <end>)
. It's confusing at first glance, but32767
maps to0x7fff
, which is the middle hash code between0x0000
and0xffff
. It would be more understandable if we used hex notation or the dockey string representation that is used for range partitioned tables (e.g.range: [(<start>, DocKey([], [3])))
). Do one of those changes to make this more readable.The text was updated successfully, but these errors were encountered: