From e972da2daeea85dbb75ac2677cbcfac07b026d14 Mon Sep 17 00:00:00 2001 From: Bharath Vissapragada Date: Mon, 22 Jan 2024 19:16:29 -0800 Subject: [PATCH] admin api: skip partition info in /brokers end point fetching partition information via health report API is heavy and brokers API doesn't really use it. This patch avoids fetching that information. (cherry picked from commit 0ecb2a453f30d2d91ac0f957692a49518533e81a) --- src/v/redpanda/admin/server.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v/redpanda/admin/server.cc b/src/v/redpanda/admin/server.cc index a432a3db4c703..5d07ce950d930 100644 --- a/src/v/redpanda/admin/server.cc +++ b/src/v/redpanda/admin/server.cc @@ -910,6 +910,7 @@ fill_maintenance_status(const cluster::broker_state& b_state) { ss::future> get_brokers(cluster::controller* const controller) { cluster::node_report_filter filter; + filter.include_partitions = cluster::include_partitions_info::no; return controller->get_health_monitor() .local()