-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
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:
