Skip to content

Commit fe08785

Browse files
authored
handling for empty tags has been improved (#4780)
1 parent f81692f commit fe08785

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/library/yql/providers/s3/actors/yql_s3_applicator_actor.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,10 @@ class TS3ApplicatorActor : public NActors::TActorBootstrapped<TS3ApplicatorActor
512512
ev->Get()->State->PartNumberMarker = root.Node("s3:NextPartNumberMarker", false, nss).Value<TString>();
513513
PushListParts(ev->Get()->State);
514514
} else {
515+
if (state->Tags.empty()) {
516+
LOG_W("ListParts returned empty parts list for " << ev->Get()->State->BuildUrl() << " (multipart upload may be completed already)");
517+
return;
518+
}
515519
PushCommitMultipartUpload(state);
516520
}
517521
} else {

0 commit comments

Comments
 (0)