Skip to content

Commit

Permalink
[Blockstore] make 'ReadBlocks transaction was interrupted' errors sil…
Browse files Browse the repository at this point in the history
…ent (#1808)
  • Loading branch information
SvartMetal authored and Mikhail Montsev committed Aug 20, 2024
1 parent 2cc0079 commit 1aa21ae
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1059,10 +1059,15 @@ void TPartitionActor::CompleteReadBlocks(
RemoveTransaction(*args.RequestInfo);

if (args.Interrupted) {
ui32 flags = 0;
SetProtoFlag(flags, NProto::EF_SILENT);
auto error = MakeError(
E_REJECTED,
"ReadBlocks transaction was interrupted",
flags);
auto response = CreateReadBlocksResponse(
args.ReplyLocal,
MakeError(E_REJECTED, "ReadBlocks transaction was interrupted")
);
std::move(error));

LWTRACK(
ResponseSent_Partition,
Expand Down

0 comments on commit 1aa21ae

Please sign in to comment.