mirror of
https://github.com/wassname/ray.git
synced 2026-08-18 12:20:14 +08:00
Global scheduler skeleton (#45)
* Initial scheduler commit * global scheduler * add global scheduler * Implement global scheduler skeleton. * Formatting. * Allow local scheduler to be started without a connection to redis so that we can test it without a global scheduler. * Fail if there are no local schedulers when the global scheduler receives a task. * Initialize uninitialized value and formatting fix. * Generalize local scheduler table to db client table. * Remove code duplication in local scheduler and add flag for whether a task came from the global scheduler or not. * Queue task specs in the local scheduler instead of tasks. * Simple global scheduler tests, including valgrind. * Factor out functions for starting processes. * Fixes.
This commit is contained in:
committed by
Stephanie Wang
parent
08707f9408
commit
d77b685a90
@@ -54,9 +54,9 @@ void handle_task_submitted(scheduler_info *info,
|
||||
* @param task Task that is assigned by the global scheduler.
|
||||
* @return Void.
|
||||
*/
|
||||
void handle_task_assigned(scheduler_info *info,
|
||||
scheduler_state *state,
|
||||
task_spec *task);
|
||||
void handle_task_scheduled(scheduler_info *info,
|
||||
scheduler_state *state,
|
||||
task_spec *spec);
|
||||
|
||||
/**
|
||||
* This function is called if a new object becomes available in the local
|
||||
|
||||
Reference in New Issue
Block a user