diff options
author | komels <komels@ydb.tech> | 2023-10-03 10:33:41 +0300 |
---|---|---|
committer | komels <komels@ydb.tech> | 2023-10-03 10:49:23 +0300 |
commit | 4854116da9c5e3c95bb8440f2ea997c54b6e1a61 (patch) | |
tree | 2940926059e38cf9b70465459e3c658de3ecef00 | |
parent | 31ed5eeee5d8e85f4f184c70c3faa51732f3d6e8 (diff) | |
download | ydb-4854116da9c5e3c95bb8440f2ea997c54b6e1a61.tar.gz |
Use partition mapping in 1st class by default
-rw-r--r-- | ydb/core/protos/pqconfig.proto | 2 | ||||
-rw-r--r-- | ydb/core/testlib/test_pq_client.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ydb/core/protos/pqconfig.proto b/ydb/core/protos/pqconfig.proto index a67b5a4c27..20db0f8c05 100644 --- a/ydb/core/protos/pqconfig.proto +++ b/ydb/core/protos/pqconfig.proto @@ -113,7 +113,7 @@ message TPQConfig { repeated TChannelProfile ChannelProfiles = 31; optional bool TopicsAreFirstClassCitizen = 32 [default = true]; - optional bool UseSrcIdMetaMappingInFirstClass = 52 [default = false]; + optional bool UseSrcIdMetaMappingInFirstClass = 52 [default = true]; optional string SourceIdTablePath = 33 [default = "/Root/PQ/SourceIdMeta2"]; diff --git a/ydb/core/testlib/test_pq_client.h b/ydb/core/testlib/test_pq_client.h index e8d1c66ca2..2ff94b0641 100644 --- a/ydb/core/testlib/test_pq_client.h +++ b/ydb/core/testlib/test_pq_client.h @@ -42,6 +42,7 @@ inline Tests::TServerSettings PQSettings(ui16 port = 0, ui32 nodesCount = PQ_DEF pqConfig.SetClusterTablePath("/Root/PQ/Config/V2/Cluster"); pqConfig.SetVersionTablePath("/Root/PQ/Config/V2/Versions"); pqConfig.SetTopicsAreFirstClassCitizen(false); + pqConfig.SetUseSrcIdMetaMappingInFirstClass(false); pqConfig.SetRoot("/Root/PQ"); pqConfig.MutableQuotingConfig()->SetEnableQuoting(false); pqConfig.MutableQuotingConfig()->SetQuotersDirectoryPath("/Root/PersQueue/System/Quoters"); |