Skip to content

Commit

Permalink
Merge pull request #22841 from travisdowns/td-CORE-6852-shard-0-reser…
Browse files Browse the repository at this point in the history
…ved-parts

partition-allocator: default shard 0 reserved partitions to 0
  • Loading branch information
travisdowns authored Aug 13, 2024
2 parents d11a6ca + 05bdeab commit 2c76829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/config/configuration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ configuration::configuration()
"is >= topic_partitions_per_core, no data partitions will be scheduled "
"on shard 0",
{.needs_restart = needs_restart::no, .visibility = visibility::tunable},
2,
0,
{
.min = 0, // It is not mandatory to reserve any capacity
.max = 131072 // Same max as topic_partitions_per_shard
Expand Down

0 comments on commit 2c76829

Please sign in to comment.