Skip to content

Commit 60237f8

Browse files
authored
[NBS] Add an empty field for nbs configs in Console to TAppConfig (#22092)
2 parents c249e4c + eeadf56 commit 60237f8

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

ydb/core/protos/config.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import "ydb/core/protos/table_service_config.proto";
3535
import "ydb/core/protos/tablet.proto";
3636
import "ydb/core/protos/tenant_pool.proto";
3737
import "ydb/core/protos/tenant_slot_broker.proto";
38+
import "ydb/core/protos/nbs/blockstore.proto";
3839
import "ydb/library/actors/protos/interconnect.proto";
3940
import "yql/essentials/core/file_storage/proto/file_storage.proto";
4041
import "yql/essentials/providers/common/proto/gateways_config.proto";
@@ -2367,6 +2368,7 @@ message TAppConfig {
23672368
optional TDataErasureConfig DataErasureConfig = 88;
23682369
optional THealthCheckConfig HealthCheckConfig = 89;
23692370
optional TGroupedMemoryLimiterConfig CompGroupedMemoryLimiterConfig = 92;
2371+
optional TBlockstoreConfig BlockstoreConfig = 93;
23702372

23712373
repeated TNamedConfig NamedConfigs = 100;
23722374
optional string ClusterYamlConfig = 101;

ydb/core/protos/nbs/blockstore.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package NKikimrConfig;
2+
3+
// This is a message that is used for config overrides in Console for https://github.com/ydb-platform/nbs, where it's not empty
4+
message TBlockstoreConfig {}

ydb/core/protos/nbs/ya.make

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
PROTO_LIBRARY()
2+
3+
SET(PROTOC_TRANSITIVE_HEADERS "no")
4+
5+
GRPC()
6+
7+
IF (OS_WINDOWS)
8+
NO_OPTIMIZE_PY_PROTOS()
9+
ENDIF()
10+
11+
SRCS(
12+
blockstore.proto
13+
)
14+
15+
CPP_PROTO_PLUGIN0(config_proto_plugin ydb/core/config/tools/protobuf_plugin)
16+
17+
EXCLUDE_TAGS(GO_PROTO)
18+
19+
END()

ydb/core/protos/ya.make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ GENERATE_ENUM_SERIALIZATION(shared_cache.pb.h)
163163
PEERDIR(
164164
ydb/core/config/protos
165165
ydb/core/fq/libs/config/protos
166+
ydb/core/protos/nbs
166167
ydb/core/protos/schemeshard
167168
ydb/core/scheme/protos
168169
ydb/core/tx/columnshard/common/protos

0 commit comments

Comments
 (0)