mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 17:23:08 +08:00
Stopped nodes can rejoin immediately (#428)
* Ignore deleted clients when reading address info from Redis * Remove self from db_client table when exiting cleanly * Fix valgrind test * Do not call plasma_perform_release when disconnecting
This commit is contained in:
committed by
Robert Nishihara
parent
4043769ba2
commit
93679df724
@@ -199,6 +199,9 @@ class Monitor(object):
|
||||
elif client_type == PLASMA_MANAGER_CLIENT_TYPE:
|
||||
if db_client_id not in self.dead_plasma_managers:
|
||||
self.dead_plasma_managers.add(db_client_id)
|
||||
# Stop tracking this plasma manager's heartbeats, since it's
|
||||
# already dead.
|
||||
del self.live_plasma_managers[db_client_id]
|
||||
|
||||
def plasma_manager_heartbeat_handler(self, channel, data):
|
||||
"""Handle a plasma manager heartbeat from Redis.
|
||||
|
||||
Reference in New Issue
Block a user