mirror of
https://github.com/wassname/ray.git
synced 2026-10-01 12:31:37 +08:00
fix actor accessor initialize inside redis gcs client (#9284)
Co-authored-by: senlin.zsl <senlin.zsl@antfin.com>
This commit is contained in:
1 parent
65f89753b0
commit
726c4cd6d4
1 file changed
+6
-1
@@ -69,7 +69,12 @@ Status RedisGcsClient::Connect(boost::asio::io_service &io_service) {
|
||||
actor_checkpoint_id_table_.reset(new ActorCheckpointIdTable(shard_contexts, this));
|
||||
resource_table_.reset(new DynamicResourceTable({primary_context}, this));
|
||||
worker_failure_table_.reset(new WorkerFailureTable(shard_contexts, this));
|
||||
actor_accessor_.reset(new RedisActorInfoAccessor(this));
|
||||
|
||||
if (RayConfig::instance().gcs_actor_service_enabled()) {
|
||||
actor_accessor_.reset(new RedisActorInfoAccessor(this));
|
||||
} else {
|
||||
actor_accessor_.reset(new RedisLogBasedActorInfoAccessor(this));
|
||||
}
|
||||
job_accessor_.reset(new RedisJobInfoAccessor(this));
|
||||
object_accessor_.reset(new RedisObjectInfoAccessor(this));
|
||||
node_accessor_.reset(new RedisNodeInfoAccessor(this));
|
||||
|
||||
Reference in new issue
Block a user