Skip to content

Commit 2f7e2b4

Browse files
authored
Fix TEvDeliveryProblem in some edge cases (#4886)
1 parent 0964dfd commit 2f7e2b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/tablet/tablet_pipecache.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class TPipePeNodeCache : public TActor<TPipePeNodeCache> {
327327
// Don't create an empty tablet record that won't be used
328328
if (Y_UNLIKELY(!msg->Options.AutoConnect && !ByTablet.contains(tablet))) {
329329
if (subscribe) {
330-
Send(peer, new TEvPipeCache::TEvDeliveryProblem(tablet, NKikimrProto::ERROR, true, false), 0, subscribeCookie);
330+
Send(peer, new TEvPipeCache::TEvDeliveryProblem(tablet, false, true, false), 0, subscribeCookie);
331331
}
332332
return;
333333
}
@@ -353,7 +353,7 @@ class TPipePeNodeCache : public TActor<TPipePeNodeCache> {
353353
// Note that this is not a typical use-case, implemented for completeness
354354
clientState = tabletState->GetActive();
355355
if (!clientState) {
356-
Send(peer, new TEvPipeCache::TEvDeliveryProblem(tablet, NKikimrProto::ERROR, true, false), 0, subscribeCookie);
356+
Send(peer, new TEvPipeCache::TEvDeliveryProblem(tablet, false, true, false), 0, subscribeCookie);
357357
return;
358358
}
359359
} else {

0 commit comments

Comments
 (0)