From ffe083f3a683e40f6cfe9ee0111b2b88bd44b63d 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 a87d8357d4ab..fe0d3118d1f9 100644 --- a/src/v/redpanda/admin_server.cc +++ b/src/v/redpanda/admin_server.cc @@ -705,6 +705,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()