mirror of
https://github.com/wassname/ray.git
synced 2026-07-06 02:47:47 +08:00
[xray] Adds a driver table. (#2289)
This PR adds a driver table for the new GCS, which enables cleanup functionality associated with monitoring driver death. Some testing in `monitor_test.py` is restored, but redis sharding for xray is needed to enable remaining tests.
This commit is contained in:
committed by
Robert Nishihara
parent
df7ee7ff1e
commit
8ae82180b4
@@ -169,7 +169,7 @@ class GlobalState(object):
|
||||
"""
|
||||
result = []
|
||||
for client in self.redis_clients:
|
||||
result.extend(client.keys(pattern))
|
||||
result.extend(list(client.scan_iter(match=pattern)))
|
||||
return result
|
||||
|
||||
def _object_table(self, object_id):
|
||||
|
||||
Reference in New Issue
Block a user