From 8b593c13ba41c0a572978f41c8ec35d0864fbf20 Mon Sep 17 00:00:00 2001 From: arkady-e1ppa Date: Mon, 9 Sep 2024 17:59:42 +0300 Subject: [PATCH] Remove unjustified verifies in cluster node config 4a4aea4c9462bee09b7eec34a14aabd3beba2ad6 --- yt/yt/server/node/cluster_node/config.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/yt/yt/server/node/cluster_node/config.cpp b/yt/yt/server/node/cluster_node/config.cpp index f5f8fd5ca703..9a8a36cb339c 100644 --- a/yt/yt/server/node/cluster_node/config.cpp +++ b/yt/yt/server/node/cluster_node/config.cpp @@ -394,7 +394,6 @@ void TClusterNodeConfig::Register(TRegistrar registrar) if (!config->ResourceLimits->FreeMemoryWatermark) { config->ResourceLimits->FreeMemoryWatermark = 0; auto freeMemoryWatermarkNode = ConvertToNode(config->ExecNode->SlotManager->JobEnvironment)->AsMap()->FindChild("free_memory_watermark"); - YT_VERIFY(!freeMemoryWatermarkNode); if (freeMemoryWatermarkNode) { config->ResourceLimits->FreeMemoryWatermark = freeMemoryWatermarkNode->GetValue(); } @@ -409,7 +408,6 @@ void TClusterNodeConfig::Register(TRegistrar registrar) } if (!config->InstanceLimitsUpdatePeriod) { auto resourceLimitsUpdatePeriodNode = ConvertToNode(config->ExecNode->SlotManager->JobEnvironment)->AsMap()->FindChild("resource_limits_update_period"); - YT_VERIFY(!resourceLimitsUpdatePeriodNode); if (resourceLimitsUpdatePeriodNode) { config->InstanceLimitsUpdatePeriod = NYTree::ConvertTo>(resourceLimitsUpdatePeriodNode); }