aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitalii Gridnev <gridnevvvit@gmail.com>2022-02-24 15:29:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-24 15:29:01 +0300
commite57c847491f07f4e397c63085c808486d3659404 (patch)
tree13eec4d131c4cb5d07897c08f93c412b9d14a875
parent0ba95495bf05327a5d4185560e7d737b777b58c7 (diff)
downloadydb-e57c847491f07f4e397c63085c808486d3659404.tar.gz
fix default schemeshard tablet ids KIKIMR-13998
REVIEW: 2346799 REVIEW: 2347971 x-ydb-stable-ref: dab5cc8939c22ed8cb756c0e523532b912a4030d
-rw-r--r--ydb/library/yaml_config/yaml_config_parser.cpp4
-rw-r--r--ydb/tests/library/harness/resources/default_yaml.yml4
2 files changed, 6 insertions, 2 deletions
diff --git a/ydb/library/yaml_config/yaml_config_parser.cpp b/ydb/library/yaml_config/yaml_config_parser.cpp
index 148a4271ac..d81df86f88 100644
--- a/ydb/library/yaml_config/yaml_config_parser.cpp
+++ b/ydb/library/yaml_config/yaml_config_parser.cpp
@@ -186,7 +186,7 @@ namespace NKikimr::NYaml {
std::unordered_map<TString, ui64> tablets = {
{"FLAT_HIVE", 72057594037968897},
{"FLAT_BS_CONTROLLER", 72057594037932033},
- {"FLAT_SCHEMESHARD", 72075186232723360},
+ {"FLAT_SCHEMESHARD", 72057594046678944},
{"CMS", 72057594037936128},
{"NODE_BROKER", 72057594037936129},
{"TENANT_SLOT_BROKER", 72057594037936130},
@@ -530,7 +530,7 @@ namespace NKikimr::NYaml {
}
if (!domain.Has("scheme_root")) {
- domain.InsertValue("scheme_root", std::move(NJson::TJsonValue(72075186232723360)));
+ domain.InsertValue("scheme_root", std::move(NJson::TJsonValue(72057594046678944)));
}
if (!domain.Has("plan_resolution")){
diff --git a/ydb/tests/library/harness/resources/default_yaml.yml b/ydb/tests/library/harness/resources/default_yaml.yml
index 7c490f6713..82cc56817c 100644
--- a/ydb/tests/library/harness/resources/default_yaml.yml
+++ b/ydb/tests/library/harness/resources/default_yaml.yml
@@ -43,6 +43,7 @@ domains_config:
domain:
- name: "{ydb_domain_name}"
domain_id: 1
+ scheme_root: 72075186232723360
storage_pool_types:
- kind: "hdd"
pool_config:
@@ -90,6 +91,9 @@ system_tablets:
- node: {ydb_defaut_tablet_node_ids}
tx_mediator:
- node: {ydb_defaut_tablet_node_ids}
+ flat_schemeshard:
+ - info:
+ tablet_id: 72075186232723360
actor_system_config:
executor:
- type: BASIC