Skip to content

Commit 4042262

Browse files
committed
Allow fetching extra sections through distconf to revert automatic configuration changes (#18107)
1 parent 20e71ba commit 4042262

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/api/protos/ydb_config.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ message FetchConfigRequest {
114114
message FetchModeAll {
115115
// Use this option to somehow transform main config
116116
// Currently used to automatically derive detached StorageSection from MainConfig
117-
// or vice versa
117+
// or vice versa, and to add some internally-managed sections into config for
118+
// explicit user control
118119
oneof config_transform {
119120
// Optionally may be set to explicitly tell "do not transform anything"
120121
google.protobuf.Empty none = 1;
@@ -130,6 +131,13 @@ message FetchConfigRequest {
130131
// (MainConfig*, StorageConfig) -> (MainConfig)
131132
// MainConfig with asterisk means MainConfig with excluded storage-related sections
132133
google.protobuf.Empty attach_storage_config_section = 3;
134+
135+
// Fetch will return MainConfig with added blob_storage_config and domains_config sections in order to
136+
// downgrade to configuration v1.
137+
google.protobuf.Empty add_blob_storage_and_domains_config = 4;
138+
139+
// Fetch will return MainConfig/StorageConfig with added blob_storage_config and explicit_* sections
140+
google.protobuf.Empty add_explicit_sections = 5;
133141
}
134142
}
135143

0 commit comments

Comments
 (0)