Skip to content

Commit 23e3464

Browse files
authored
25-3-1: Fix listing for import changefeeds (#25685)
2 parents be432f5 + 73504d5 commit 23e3464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/tx/schemeshard/schemeshard_import_getters.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ class TSchemeGetter: public TGetterFromS3<TSchemeGetter> {
677677
ChangefeedsPrefixes.reserve(objects.size());
678678

679679
for (const auto& obj : objects) {
680-
const TFsPath& path = obj.GetKey();
680+
const TFsPath path = obj.GetKey();
681681
if (path.GetName() == "changefeed_description.pb") {
682682
ChangefeedsPrefixes.push_back(path.Parent().GetName());
683683
}
@@ -699,7 +699,7 @@ class TSchemeGetter: public TGetterFromS3<TSchemeGetter> {
699699

700700
void ListChangefeeds() {
701701
CreateClient();
702-
ListObjects(ImportInfo->GetItemSrcPrefix(ItemIdx));
702+
ListObjects(ImportInfo->GetItemSrcPrefix(ItemIdx) + "/");
703703
}
704704

705705
void DownloadMetadata() {

0 commit comments

Comments
 (0)