Skip to content

Commit 046fc2f

Browse files
authored
[ydbd_slice] add TMemoryControllerConfig to options (#13250)
1 parent 3a97a18 commit 046fc2f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ydb/tools/cfg/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ def __init__(self, template, walle_provider, validator=None, database=None, use_
297297
self.table_profiles_config = self.__cluster_description.get("table_profiles_config")
298298
self.http_proxy_config = self.__cluster_description.get("http_proxy_config")
299299
self.blob_storage_config = self.__cluster_description.get("blob_storage_config")
300+
self.memory_controller_config = self.__cluster_description.get("memory_controller_config", {})
300301
self.channel_profile_config = self.__cluster_description.get("channel_profile_config")
301302
self.pdisk_key_config = self.__cluster_description.get("pdisk_key_config", {})
302303
if not self.need_txt_files and not self.use_new_style_kikimr_cfg:

ydb/tools/cfg/static.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,9 @@ def get_normalized_config(self):
422422
if self.__cluster_details.http_proxy_config is not None:
423423
normalized_config["http_proxy_config"] = self.__cluster_details.http_proxy_config
424424

425+
if self.__cluster_details.memory_controller_config is not None:
426+
normalized_config["memory_controller_config"] = self.__cluster_details.memory_controller_config
427+
425428
if self.__cluster_details.blob_storage_config is not None:
426429
normalized_config["blob_storage_config"] = self.__cluster_details.blob_storage_config
427430
else:

0 commit comments

Comments
 (0)