diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-12-13 17:24:26 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-12-13 19:19:27 +0300 |
commit | a2a641f053c08c20145d1bdc14e685bcd295162a (patch) | |
tree | 300310419acfae02c89bce3b2bc354b71f4b1718 | |
parent | 178253acce2f564419af08381032dc95eaf0a39d (diff) | |
download | ydb-a2a641f053c08c20145d1bdc14e685bcd295162a.tar.gz |
Intermediate changes
-rw-r--r-- | yt/yt/core/service_discovery/yp/service_discovery_dummy.cpp | 8 | ||||
-rw-r--r-- | yt/yt/library/profiling/resource_tracker/ya.make | 2 | ||||
-rw-r--r-- | yt/yt/library/syncmap/ya.make | 2 | ||||
-rw-r--r-- | yt/yt/library/undumpable/ya.make | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/yt/yt/core/service_discovery/yp/service_discovery_dummy.cpp b/yt/yt/core/service_discovery/yp/service_discovery_dummy.cpp index a8484474ad..9e46b3b4c8 100644 --- a/yt/yt/core/service_discovery/yp/service_discovery_dummy.cpp +++ b/yt/yt/core/service_discovery/yp/service_discovery_dummy.cpp @@ -8,11 +8,11 @@ namespace NYT::NServiceDiscovery::NYP { IServiceDiscoveryPtr CreateServiceDiscovery(TServiceDiscoveryConfigPtr config) { - if (!config->Enable) { - return nullptr; - } + // In opensource, we do not have any service discovery implementation, + // so it must be disabled. + YT_VERIFY(!config->Enable); - Y_UNREACHABLE(); + return nullptr; } //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt/library/profiling/resource_tracker/ya.make b/yt/yt/library/profiling/resource_tracker/ya.make index 39301641a0..27aafc67ec 100644 --- a/yt/yt/library/profiling/resource_tracker/ya.make +++ b/yt/yt/library/profiling/resource_tracker/ya.make @@ -10,7 +10,7 @@ PEERDIR( yt/yt/library/profiling # TODO(prime@:) remove this, once dependency cycle with yt/core is resolved - yt/yt_proto/yt/core + yt/yt_proto/yt/core ) END() diff --git a/yt/yt/library/syncmap/ya.make b/yt/yt/library/syncmap/ya.make index 3516033aaf..544549f157 100644 --- a/yt/yt/library/syncmap/ya.make +++ b/yt/yt/library/syncmap/ya.make @@ -7,7 +7,7 @@ END() RECURSE_FOR_TESTS( unittests ) - + IF (NOT OPENSOURCE) RECURSE( benchmark diff --git a/yt/yt/library/undumpable/ya.make b/yt/yt/library/undumpable/ya.make index 724c504e84..6cc01cc78e 100644 --- a/yt/yt/library/undumpable/ya.make +++ b/yt/yt/library/undumpable/ya.make @@ -11,7 +11,7 @@ PEERDIR( library/cpp/yt/assert library/cpp/yt/threading library/cpp/yt/memory - + yt/yt/library/profiling ) |