From 185d591108753d780da775973e67ce1d47414da3 Mon Sep 17 00:00:00 2001 From: micafan <550435771@qq.com> Date: Sat, 4 Apr 2020 08:45:39 +0800 Subject: [PATCH] No need to send actor died signal from RedisActorInfoAccessor (#7883) --- src/ray/gcs/redis_accessor.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/ray/gcs/redis_accessor.cc b/src/ray/gcs/redis_accessor.cc index 3e7611e06..c9e9c993e 100644 --- a/src/ray/gcs/redis_accessor.cc +++ b/src/ray/gcs/redis_accessor.cc @@ -101,16 +101,6 @@ Status RedisLogBasedActorInfoAccessor::AsyncUpdate( << ", actor id: " << actor_id << ", log_length: " << log_length; auto on_success = [callback](RedisGcsClient *client, const ActorID &actor_id, const ActorTableData &data) { - // If we successfully appended a record to the GCS table of the actor that - // has died, signal this to anyone receiving signals from this actor. - if (data.state() == ActorTableData::DEAD || - data.state() == ActorTableData::RECONSTRUCTING) { - std::vector args = {"XADD", actor_id.Hex(), "*", "signal", - "ACTOR_DIED_SIGNAL"}; - auto redis_context = client->primary_context(); - RAY_CHECK_OK(redis_context->RunArgvAsync(args)); - } - if (callback != nullptr) { callback(Status::OK()); }