Skip to content

Commit

Permalink
[ydbd_slice] add TMemoryControllerConfig to options (#13250)
Browse files Browse the repository at this point in the history
  • Loading branch information
shmel1k authored Jan 9, 2025
1 parent 3a97a18 commit 046fc2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ydb/tools/cfg/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def __init__(self, template, walle_provider, validator=None, database=None, use_
self.table_profiles_config = self.__cluster_description.get("table_profiles_config")
self.http_proxy_config = self.__cluster_description.get("http_proxy_config")
self.blob_storage_config = self.__cluster_description.get("blob_storage_config")
self.memory_controller_config = self.__cluster_description.get("memory_controller_config", {})
self.channel_profile_config = self.__cluster_description.get("channel_profile_config")
self.pdisk_key_config = self.__cluster_description.get("pdisk_key_config", {})
if not self.need_txt_files and not self.use_new_style_kikimr_cfg:
Expand Down
3 changes: 3 additions & 0 deletions ydb/tools/cfg/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ def get_normalized_config(self):
if self.__cluster_details.http_proxy_config is not None:
normalized_config["http_proxy_config"] = self.__cluster_details.http_proxy_config

if self.__cluster_details.memory_controller_config is not None:
normalized_config["memory_controller_config"] = self.__cluster_details.memory_controller_config

if self.__cluster_details.blob_storage_config is not None:
normalized_config["blob_storage_config"] = self.__cluster_details.blob_storage_config
else:
Expand Down

0 comments on commit 046fc2f

Please sign in to comment.