yugabyte/yugabyte-db

[docdb] master UI hash_split of last partition should be inclusive

クローズ

#6,299 opened on 2020/11/06

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)C (1,003 件のフォーク)batch import
area/docdbgood first issuehelp wantedkind/bugpriority/medium

Repository metrics

Stars
 (8,229 個のスター)
PR merge metrics
 (平均マージ 17d 21h) (30d で 92 merged PRs)

説明

Jira Link: DB-4659 The master UI table page has tablets with their partition boundaries. Recent commit dca4cf4ef52d768ea955ffe9a1b0b7ceffd20a9c made the format of the boundaries into hex notation. It also converted the "start" and "end" words to 0x0000 and 0xffff, respectively.

Now, it's a lot more obvious that there's an issue with all the boundaries being [foo, bar), foo being inclusive and bar being exclusive. Before, it looked like [foo, <end>), which is sort of fine depending on your interpretation of "end"; now, it looks like [foo, 0xffff), which is definitely incorrect. Change that last partition to be all inclusive so that it looks like [foo, 0xffff]. As of now, this is only applicable to YCQL hash partitioned tables.

コントリビューターガイド