Skip to content

Commit

Permalink
fix system tablets on cluster overview pane
Browse files Browse the repository at this point in the history
  • Loading branch information
adameat committed May 22, 2024
1 parent 71347f6 commit 22e741d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ydb/core/viewer/json_cluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,15 @@ class TJsonCluster : public TViewerPipeClient<TJsonCluster> {
for (TTabletId id : domain->TxAllocators) {
filterTablets.emplace(id);
}
filterTablets.emplace(domain->SchemeRoot);
filterTablets.emplace(domains->GetHive());
}
filterTablets.emplace(MakeBSControllerID());
filterTablets.emplace(MakeDefaultHiveID());
filterTablets.emplace(MakeCmsID());
filterTablets.emplace(MakeNodeBrokerID());
filterTablets.emplace(MakeTenantSlotBrokerID());
filterTablets.emplace(MakeConsoleID());
const NKikimrSchemeOp::TPathDescription& pathDescription(DescribeResult->GetRecord().GetPathDescription());
if (pathDescription.HasDomainDescription()) {
const NKikimrSubDomains::TDomainDescription& domainDescription(pathDescription.GetDomainDescription());
Expand Down Expand Up @@ -326,6 +334,10 @@ class TJsonCluster : public TViewerPipeClient<TJsonCluster> {
TIntrusivePtr<TDomainsInfo> domains = AppData()->DomainsInfo;
if (const auto& domain = domains->Domain) {
tablets.emplace(MakeBSControllerID());
tablets.emplace(MakeDefaultHiveID());
tablets.emplace(MakeCmsID());
tablets.emplace(MakeNodeBrokerID());
tablets.emplace(MakeTenantSlotBrokerID());
tablets.emplace(MakeConsoleID());
tablets.emplace(domain->SchemeRoot);
tablets.emplace(domains->GetHive());
Expand Down

0 comments on commit 22e741d

Please sign in to comment.