diff options
author | babenko <babenko@yandex-team.com> | 2024-12-13 15:39:05 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2024-12-13 18:02:09 +0300 |
commit | cc30064ada8e0b17aa4b6183a53ea00120fc9683 (patch) | |
tree | 368687f3f730ff3a2902f414fa649a22a67387a0 | |
parent | 7e0ce5b7b63a5d16f92c3f471e6da055596a3861 (diff) | |
download | ydb-cc30064ada8e0b17aa4b6183a53ea00120fc9683.tar.gz |
Add missing Postprocess to ApplyDynamic
commit_hash:93da0e65796ecbfe6b13e4f604ae18b398bbbfd2
-rw-r--r-- | yt/yt/core/concurrency/config.cpp | 1 | ||||
-rw-r--r-- | yt/yt/library/stockpile/config.cpp | 3 | ||||
-rw-r--r-- | yt/yt/library/tcmalloc/config.cpp | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/yt/yt/core/concurrency/config.cpp b/yt/yt/core/concurrency/config.cpp index 506650414b..9a1c63bf18 100644 --- a/yt/yt/core/concurrency/config.cpp +++ b/yt/yt/core/concurrency/config.cpp @@ -140,6 +140,7 @@ TFiberManagerConfigPtr TFiberManagerConfig::ApplyDynamic(const TFiberManagerDyna result->FiberStackPoolSizes[key] = value; } UpdateYsonStructField(result->MaxIdleFibers, dynamicConfig->MaxIdleFibers); + result->Postprocess(); return result; } diff --git a/yt/yt/library/stockpile/config.cpp b/yt/yt/library/stockpile/config.cpp index 1c591452c4..4a2fc69971 100644 --- a/yt/yt/library/stockpile/config.cpp +++ b/yt/yt/library/stockpile/config.cpp @@ -2,6 +2,8 @@ namespace NYT { +using namespace NYTree; + //////////////////////////////////////////////////////////////////////////////// void TStockpileConfig::Register(TRegistrar registrar) @@ -34,6 +36,7 @@ TStockpileConfigPtr TStockpileConfig::ApplyDynamic(const TStockpileDynamicConfig mergedConfig->Period = *dynamicConfig->Period; } + mergedConfig->Postprocess(); return mergedConfig; } diff --git a/yt/yt/library/tcmalloc/config.cpp b/yt/yt/library/tcmalloc/config.cpp index 7a3ecc337c..b1e7cdf3c0 100644 --- a/yt/yt/library/tcmalloc/config.cpp +++ b/yt/yt/library/tcmalloc/config.cpp @@ -35,6 +35,7 @@ TTCMallocConfigPtr TTCMallocConfig::ApplyDynamic(const TTCMallocConfigPtr& dynam // TODO(babenko): fix this mess auto mergedConfig = CloneYsonStruct(dynamicConfig); mergedConfig->HeapSizeLimit->MemoryProfileDumpPath = HeapSizeLimit->MemoryProfileDumpPath; + mergedConfig->Postprocess(); return mergedConfig; } |