Skip to content

Commit 18a05f7

Browse files
authored
Fix TEvPatch behaviour (#1469)
1 parent 2c8f3e7 commit 18a05f7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/config/muted_ya.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ ydb/core/blobstorage/dsproxy/ut TBlobStorageProxySequenceTest.TestBlock42PutWith
22
ydb/core/blobstorage/dsproxy/ut_fat TBlobStorageProxyTest.TestBatchedPutRequestDoesNotContainAHugeBlob
33
ydb/core/blobstorage/pdisk/ut TSectorMap.*
44
ydb/core/blobstorage/ut_blobstorage/ut_read_only_vdisk ReadOnlyVDisk.TestStorageLoad
5-
ydb/core/blobstorage/ut_blobstorage BlobPatching.PatchBlock42
65
ydb/core/blobstorage/ut_blobstorage CostMetricsGetBlock4Plus2.TestGet4Plus2BlockRequests10000Inflight1BlobSize1000
76
ydb/core/blobstorage/ut_blobstorage Defragmentation.DoesItWork
87
ydb/core/blobstorage/ut_blobstorage SpaceCheckForDiskReassign.*

ydb/core/blobstorage/vdisk/skeleton/skeleton_vpatch_actor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ namespace NKikimr::NPrivate {
365365
(ResultSize, record.ResultSize()),
366366
(ParityPart, (blobId.PartId() <= GType.DataParts() ? "no" : "yes")));
367367

368-
ui8 *buffer = reinterpret_cast<ui8*>(Buffer.UnsafeGetContiguousSpanMut().data());
368+
ui8 *buffer = reinterpret_cast<ui8*>(Buffer.GetContiguousSpanMut().data());
369369
if (PatchedPartId <= GType.DataParts()) {
370370
AddMark("Data part");
371371
if (GType.ErasureFamily() != TErasureType::ErasureMirror) {
@@ -675,7 +675,7 @@ namespace NKikimr::NPrivate {
675675
}
676676

677677
if (Buffer) {
678-
ui8 *buffer = reinterpret_cast<ui8*>(Buffer.UnsafeGetContiguousSpanMut().data());
678+
ui8 *buffer = reinterpret_cast<ui8*>(Buffer.GetContiguousSpanMut().data());
679679
ui32 dataSize = OriginalBlobId.BlobSize();
680680

681681
AddMark("Apply xor diff");

0 commit comments

Comments
 (0)