aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzalyalov <zalyalov@yandex-team.com>2023-11-22 19:29:35 +0300
committerzalyalov <zalyalov@yandex-team.com>2023-11-22 22:53:59 +0300
commitb6243191a932e867d2fa81693ff025afe82af11a (patch)
tree02f289bd7c073221775f09d466aa20fde267006d
parent1d837e1d88822f2e0ac0614a20ebcfff5090c9f1 (diff)
downloadydb-b6243191a932e867d2fa81693ff025afe82af11a.tar.gz
reset preferred node for dead tablets KIKIMR-20162
-rw-r--r--ydb/core/mind/hive/tx__update_tablet_status.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/mind/hive/tx__update_tablet_status.cpp b/ydb/core/mind/hive/tx__update_tablet_status.cpp
index 28dc45b9c9..11d16d56e1 100644
--- a/ydb/core/mind/hive/tx__update_tablet_status.cpp
+++ b/ydb/core/mind/hive/tx__update_tablet_status.cpp
@@ -181,6 +181,7 @@ public:
default:
break;
};
+ tablet->PreferredNodeId = 0;
}
tablet->GetLeader().TryToBoot();
}