8000 [Core] Redis health check lacks timeout detection. · Issue #52933 · ray-project/ray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Core] Redis health check lacks timeout detection. #52933
Open
@infzo

Description

@infzo

What happened + What you expected to happen

Redis health check lacks timeout detection. In the event of a network interface failure, it may not be identified promptly.

like: ifconfig eth0 down

ray 2.34.0

src\ray\gcs\gcs_server\gcs_redis_failure_detector.cc

void GcsRedisFailureDetector::DetectRedis() {
  auto redis_callback = [this](const std::shared_ptr<CallbackReply> &reply) {
    if (reply->IsNil()) {
      RAY_LOG(ERROR) << "Redis is inactive.";
      callback_();
    }
  };
  auto cxt = redis_client_->GetPrimaryContext();
  cxt->RunArgvAsync({"PING"}, redis_callback);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Issue that should be fixed within a few weeksbugSomething that is supposed to be working; but isn'tcommunity-backlogcoreIssues that should be addressed in Ray Corestability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0