yugabyte/yugabyte-db

[docdb] Add new per tablet UI for tracking WAL segments

Open

#7,648 opened on Mar 15, 2021

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C (1,003 forks)batch import
area/docdbgood first issuehelp wantedkind/enhancementpriority/medium

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (Avg merge 17d 21h) (92 merged PRs in 30d)

Description

Jira Link: DB-2343 We could use a simple per tablet UI where we showcase what are the WAL segments for a given tablet. This could track both count, sizes and maybe even some metadata, like we do for rocksdb.

Per tablet overview UI: :9000/tablet?id=1ca0296435284c90a94f59453be30715 Per tablet rocksdb UI: :9000/rocksdb?id=1ca0296435284c90a94f59453be30715

We could also enhance the /tables and /tablets views, with a Num WAL segments column.

In steady state, these numbers should be pretty low, but when we are dealing with failed pears, fallen behind replication, or in the xCluster solution, some delay between the 2 clusters, this could be pretty useful for high level overview.

cc @amitanandaiyer @rahuldesirazu

Contributor guide