aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkomels <komels@ydb.tech>2023-04-26 21:00:50 +0300
committerkomels <komels@ydb.tech>2023-04-26 21:00:50 +0300
commitcba33106b7713d13fe59f92c3156eaaffa3b167f (patch)
treecb4bf4eb42a631253bcff4d0eaafd7c36143a6fc
parentda0cdb8a5b4d566e3a4fb67ae40ee67ab95919a1 (diff)
downloadydb-cba33106b7713d13fe59f92c3156eaaffa3b167f.tar.gz
Fix the bug
-rw-r--r--ydb/core/persqueue/writer/source_id_encoding.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ydb/core/persqueue/writer/source_id_encoding.cpp b/ydb/core/persqueue/writer/source_id_encoding.cpp
index c4eb275265..59101a2e5f 100644
--- a/ydb/core/persqueue/writer/source_id_encoding.cpp
+++ b/ydb/core/persqueue/writer/source_id_encoding.cpp
@@ -45,10 +45,11 @@ TString GetSourceIdSelectQueryFromPath(const TString& path, ESourceIdTableGenera
TString GetSourceIdSelectQuery(const TString& root, ESourceIdTableGeneration generation) {
switch (generation) {
case ESourceIdTableGeneration::SrcIdMeta2:
- return GetSourceIdSelectQueryFromPath(root + "/SourceIdMeta2");
+ return GetSourceIdSelectQueryFromPath(root + "/SourceIdMeta2", generation);
case ESourceIdTableGeneration::PartitionMapping:
return GetUpdateIdSelectQueryFromPath(
- NGRpcProxy::V1::TSrcIdMetaInitManager::GetInstant()->GetStorageTablePath()
+ NGRpcProxy::V1::TSrcIdMetaInitManager::GetInstant()->GetStorageTablePath(),
+ generation
);
default:
Y_FAIL();