Connecting to GCSClient without a local raylet hangs
glennmoy opened this issue · comments
Follow up to comment thread:
The issue is that the Connect(client)
call returns Status::OK
irrespective of whether the GCS Server has been initiated
It first reports after 5 seconds that it can't connect, then after a minute kills the session with an EXIT_FAILURE
.
Again these are set by RayConfig
params.
If the client
does not exist then then the thread executing the server (I think) throws the error which only gets reported but not caught in the Julia REPL
Unfortunately the gcs_is_down_
field is private, however there is a way to check if the server is alive that uses a callback
However, I don't think it's worth directly implementing this. The timeout should take care of things it's just that the error won't be nicely caught/reported in Julia but we can add that as a follow up.
Originally posted by @glennmoy in #211 (comment)