Skip to content

Commit

Permalink
Remove excessive check from DS proxy mock (#13207)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru authored Jan 9, 2025
1 parent 286332a commit 21b0c4d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ydb/core/blobstorage/dsproxy/mock/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ namespace NFake {
const ui32 offset = size ? query.Shift : 0;
response.Buffer = TRope(data.Buffer.Position(offset), data.Buffer.Position(offset + size));
} else {
// ensure this blob is not under GC
Y_ABORT_UNLESS(!IsCollectedByBarrier(id), "Id# %s", id.ToString().data());

// reply with NODATA -- we haven't got this blob
response.Status = NKikimrProto::NODATA;
}
Expand Down

0 comments on commit 21b0c4d

Please sign in to comment.