Skip to content

Commit

Permalink
Merge pull request redpanda-data#15873 from vbotbuildovich/backport-p…
Browse files Browse the repository at this point in the history
…r-15862-v23.2.x-425

[v23.2.x] c/s/leader_balancer: prevent oversized alloc
  • Loading branch information
rockwotj authored Dec 22, 2023
2 parents 71f50e7 + 00b1614 commit 991c1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/cluster/scheduling/leader_balancer_constraints.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class even_topic_distributon_constraint final
using topic_id_t = model::revision_id::type;

template<typename ValueType>
using topic_map = absl::flat_hash_map<topic_id_t, ValueType>;
using topic_map = absl::btree_map<topic_id_t, ValueType>;

public:
even_topic_distributon_constraint(
Expand Down

0 comments on commit 991c1ab

Please sign in to comment.