Skip to content

Commit

Permalink
allocator: fix lease io enforcement setting typo
Browse files Browse the repository at this point in the history
This commit updates the "do nothing" lease IO overload enforcement
(`kv.allocator.lease_io_overload_threshold_enforcement`)
setting to be correctly spelled "ignore" rather than "ingore".

Part of: cockroachdb#96508

Release note (ops change): The
`kv.allocator.lease_io_overload_threshold_enforcement` setting value
which disables enforcement is updated to be spelled
correctly as "ignore" rather than "ingore".
  • Loading branch information
kvoli committed Mar 13, 2023
1 parent 36d39aa commit c80e7c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ var LeaseIOOverloadThresholdEnforcement = settings.RegisterEnumSetting(
"non io-overloaded stores, this is a superset of block_transfer_to",
"block_transfer_to",
map[int64]string{
int64(IOOverloadThresholdIgnore): "ingore",
int64(IOOverloadThresholdIgnore): "ignore",
int64(IOOverloadThresholdBlockTransfers): "block_transfer_to",
int64(IOOverloadThresholdShed): "shed",
},
Expand Down

0 comments on commit c80e7c7

Please sign in to comment.