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

FollowerId in TopShards #1479

Open
azevaykin opened this issue Oct 17, 2024 · 2 comments · May be fixed by #2025
Open

FollowerId in TopShards #1479

azevaykin opened this issue Oct 17, 2024 · 2 comments · May be fixed by #2025

Comments

@azevaykin
Copy link

azevaykin commented Oct 17, 2024

ydb-platform/ydb#10482
Here new functionality is added: system view partition_stats now has rows for datashard followers and new column FollowerId.
For example:

select * from `/local/.sys/partition_stats` where Path = '/local/Followers'

now returns several records like that

AccessTime	CPUCores	CoordinatedTxCompleted	DataSize	FollowerId	ImmediateTxCompleted	InFlightTxCount	IndexSize	LastTtlRowsErased	LastTtlRowsProcessed	LastTtlRunTime	NodeId	OwnerId	PartIdx	Path	PathId	RangeReadRows	RangeReads	RowCount	RowDeletes	RowReads	RowUpdates	StartTime	TabletId	TxRejectedByOutOfStorage	TxRejectedByOverload	UpdateTime
1970-01-01T00:00:00.000000Z	0.000005	0	0	3	0	0	0	null	null	null	1	72075186232723360	0	/local/Followers	9	4	1	0	0	0	0	2024-10-17T06:47:29.686000Z	72075186224037954	0	0	1970-01-01T00:00:00.000000Z
1970-01-01T00:00:00.000000Z	0.000005	0	0	2	0	0	0	null	null	null	1	72075186232723360	0	/local/Followers	9	4	1	0	0	0	0	2024-10-17T06:47:29.687000Z	72075186224037954	0	0	1970-01-01T00:00:00.000000Z
1970-01-01T00:00:00.000000Z	0.000044	1	127	0	0	0	0	null	null	null	1	72075186232723360	0	/local/Followers	9	0	0	4	0	0	0	2024-10-17T06:47:28.498000Z	72075186224037954	0	0	1970-01-01T00:00:00.000000Z

So there is a need to add nwe column FollowerId to "Top shards" in UI.
Right now it looks like that:
image

@adameat
Copy link
Member

adameat commented Nov 18, 2024

I suggest to write follower id after a point. like 827368762.1

@adameat
Copy link
Member

adameat commented Nov 18, 2024

it will require to alter tablet page and both hyperlinks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants