mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
[xray] Put GCS data into the redis data shard (#2298)
This commit is contained in:
committed by
Robert Nishihara
parent
d75b39f6df
commit
762bdf646e
@@ -487,8 +487,11 @@ PlasmaManagerState *PlasmaManagerState_init(const char *store_socket_name,
|
||||
db_attach(state->db, state->loop, false);
|
||||
|
||||
RAY_CHECK_OK(state->gcs_client.Connect(std::string(redis_primary_addr),
|
||||
redis_primary_port));
|
||||
redis_primary_port,
|
||||
/*sharding=*/true));
|
||||
RAY_CHECK_OK(state->gcs_client.context()->AttachToEventLoop(state->loop));
|
||||
RAY_CHECK_OK(
|
||||
state->gcs_client.primary_context()->AttachToEventLoop(state->loop));
|
||||
} else {
|
||||
state->db = NULL;
|
||||
RAY_LOG(DEBUG) << "No db connection specified";
|
||||
|
||||
Reference in New Issue
Block a user