Ray scheduler spillback plumbing + mechanism (#1362)

* spillback mechanism and plumbing : adding spillback counter + timestamp

* linting fix

* documentation

* Fix argument name.
This commit is contained in:
Alexey Tumanov
2018-01-23 20:18:12 -08:00
committed by Robert Nishihara
parent 21a916009e
commit f1303291b4
11 changed files with 153 additions and 48 deletions
+2 -1
View File
@@ -198,7 +198,8 @@ class Monitor(object):
key, "RAY.TASK_TABLE_UPDATE",
hex_to_binary(task_id),
ray.experimental.state.TASK_STATUS_LOST, NIL_ID,
task["ExecutionDependenciesString"])
task["ExecutionDependenciesString"],
task["SpillbackCount"])
if ok != b"OK":
log.warn("Failed to update lost task for dead scheduler.")
num_tasks_updated += 1