aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkomels <komels@ydb.tech>2023-10-03 10:33:41 +0300
committerkomels <komels@ydb.tech>2023-10-03 10:49:23 +0300
commit4854116da9c5e3c95bb8440f2ea997c54b6e1a61 (patch)
tree2940926059e38cf9b70465459e3c658de3ecef00
parent31ed5eeee5d8e85f4f184c70c3faa51732f3d6e8 (diff)
downloadydb-4854116da9c5e3c95bb8440f2ea997c54b6e1a61.tar.gz
Use partition mapping in 1st class by default
-rw-r--r--ydb/core/protos/pqconfig.proto2
-rw-r--r--ydb/core/testlib/test_pq_client.h1
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");