Skip to content

Commit 979cba7

Browse files
authored
Use retryable code for error when DQ leader is changed (#17288)
1 parent e820a40 commit 979cba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/library/yql/providers/dq/global_worker_manager/global_worker_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ class TGlobalWorkerManager: public TWorkerManagerCommon<TGlobalWorkerManager> {
671671
Send(value.ActorId, new TEvents::TEvPoison());
672672
}
673673
for (const auto sender : Scheduler->Cleanup()) {
674-
Send(sender, new TEvAllocateWorkersResponse("StartFollower", NYql::NDqProto::StatusIds::UNSPECIFIED));
674+
Send(sender, new TEvAllocateWorkersResponse("Worker reallocation is required because of DQ leader change", NYql::NDqProto::StatusIds::UNAVAILABLE));
675675
}
676676
AllocatedResources.clear();
677677
for (auto& [k, v] : LiteralQueries) {

0 commit comments

Comments
 (0)