Skip to content

Commit f6eae0b

Browse files
mregrockblinkov
authored andcommitted
Fix print and update CHANGELOG.md (#14905)
1 parent 90eec93 commit f6eae0b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

ydb/apps/ydb/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Add `ydb admin node config init` command to initialize directory with node config files.
2+
* Add `ydb admin cluster config generate` command to generate dynamic config from static config on cluster.
13
* Fixed memory leak in tpcds generator.
24
* Include external data sources and external tables in local backups (`ydb tools dump` and `ydb tools restore`). Both scheme objects are backed up as YQL creation queries saved in the `create_external_data_source.sql` and `create_external_table.sql` files respectively, which can be executed to recreate the original scheme objects.
35
* Fixed a bug where `ydb auth get-token` command tried to authenticate twice: while listing andpoints and while executing actual token request.

ydb/public/lib/ydb_cli/commands/ydb_node_config.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ constexpr const char* STORAGE_CONFIG_FILE_NAME = "storage.yaml";
1010

1111
TCommandNodeConfig::TCommandNodeConfig()
1212
: TClientCommandTree("config", {}, "Node-wide configuration")
13-
{
13+
{
1414
AddCommand(std::make_unique<TCommandNodeConfigInit>());
1515
}
1616

@@ -97,8 +97,9 @@ int TCommandNodeConfigInit::Run(TConfig& config) {
9797
return EXIT_SUCCESS;
9898
}
9999
Cerr << "Failed to save configs: "
100-
<< (clusterSaved ? "" : "main config ")
101-
<< (storageSaved ? "and " : "storage config")
100+
<< (clusterSaved ? "" : "main config")
101+
<< (clusterSaved && storageSaved ? ", " : "")
102+
<< (storageSaved ? "" : "storage config")
102103
<< Endl;
103104
return EXIT_FAILURE;
104105
}

0 commit comments

Comments
 (0)