From c80e7c700769e53c57b3b5ba4ab46c6aa6fa8181 Mon Sep 17 00:00:00 2001 From: Austen McClernon Date: Mon, 13 Mar 2023 22:00:15 +0000 Subject: [PATCH] allocator: fix lease io enforcement setting typo 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: #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". --- pkg/kv/kvserver/allocator/allocatorimpl/allocator_scorer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kv/kvserver/allocator/allocatorimpl/allocator_scorer.go b/pkg/kv/kvserver/allocator/allocatorimpl/allocator_scorer.go index 8cf162daea6a..4d388888ecfb 100644 --- a/pkg/kv/kvserver/allocator/allocatorimpl/allocator_scorer.go +++ b/pkg/kv/kvserver/allocator/allocatorimpl/allocator_scorer.go @@ -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", },