mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Fill out specs of the task table in ray_redis_module.cc. (#1024)
* Fill out specs of the task table in ray_redis_module.cc. * local scheduler field in task table * linting
This commit is contained in:
parent
bb76d4ca0a
commit
427dee511b
1 changed files with 8 additions and 1 deletions
|
@ -25,8 +25,15 @@
|
|||
//
|
||||
// == TASK TABLE ==
|
||||
//
|
||||
// TODO(pcm): Fill this out.
|
||||
// It maps each TT:task_id to a hash:
|
||||
// "state" -> the state of the task, encoded as a bit mask of scheduling_state
|
||||
// enum values in task.h,
|
||||
// "local_scheduler_id" -> the ID of the local scheduler the task is assigned
|
||||
// to,
|
||||
// "TaskSpec" -> serialized bytes of a TaskInfo (defined in common.fbs), which
|
||||
// describes the details this task.
|
||||
//
|
||||
// See also the definition of TaskReply in common.fbs.
|
||||
|
||||
#define OBJECT_INFO_PREFIX "OI:"
|
||||
#define OBJECT_LOCATION_PREFIX "OL:"
|
||||
|
|
Loading…
Add table
Reference in a new issue