Skip to content

Commit

Permalink
[core][observability] Improve observability when the core worker fail…
Browse files Browse the repository at this point in the history
…s to read data from the Raylet socket (ray-project#49163)

Signed-off-by: kaihsun <kaihsun@anyscale.com>
Signed-off-by: ujjawal-khare <ujjawal.khare@dream11.com>
  • Loading branch information
kevin85421 authored and ujjawal-khare committed Dec 17, 2024
1 parent 3ac1ca0 commit 4558dc5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ray/common/client_connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,11 @@ Status ServerConnection::ReadBuffer(
bytes_remaining -= bytes_read;
if (error.value() == EINTR) {
continue;
} else if (error.value() != boost::system::errc::errc_t::success) {
}
if (error.value() == ENOENT) {
return Status::IOError("Failed to read data from the socket: " + error.message());
}
if (error.value() != boost::system::errc::errc_t::success) {
return boost_to_ray_status(error);
}
}
Expand Down

0 comments on commit 4558dc5

Please sign in to comment.