mirror of
https://github.com/wassname/ray.git
synced 2026-07-10 00:35:08 +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:
@@ -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