Skip to content

Commit e566060

Browse files
authored
Fix not allocated vectors when used MovedPatch (#12418)
1 parent f9e79db commit e566060

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ydb/core/blobstorage/dsproxy/dsproxy_patch.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,11 @@ class TBlobStorageGroupPatchRequest : public TBlobStorageGroupRequestActor {
585585
Become(&TBlobStorageGroupPatchRequest::MovedPatchState);
586586
IsMovedPatch = true;
587587
std::optional<ui32> subgroupIdx = 0;
588+
ReceivedResponseFlags.resize(VDisks.size(), false);
589+
ErrorResponseFlags.resize(VDisks.size(), false);
590+
EmptyResponseFlags.resize(VDisks.size(), false);
591+
ForceStopFlags.resize(VDisks.size(), false);
592+
SlowFlags.resize(VDisks.size(), false);
588593

589594
if (OkVDisksWithParts) {
590595
ui32 okVDiskIdx = RandomNumber<ui32>(OkVDisksWithParts.size());

0 commit comments

Comments
 (0)