[xray] push warning to driver for infeasible tasks (#2784)

This PR pushes a warning to the user for infeasible tasks to alert them to the fact that they can't currently be executed. Fixes #2780.
This commit is contained in:
Alexey Tumanov
2018-09-01 13:21:27 -07:00
committed by Robert Nishihara
parent 4db196438b
commit fdc9688226
3 changed files with 37 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ WORKER_CRASH_PUSH_ERROR = "worker_crash"
WORKER_DIED_PUSH_ERROR = "worker_died"
PUT_RECONSTRUCTION_PUSH_ERROR = "put_reconstruction"
HASH_MISMATCH_PUSH_ERROR = "object_hash_mismatch"
INFEASIBLE_TASK_ERROR = "infeasible_task"
# Abort autoscaling if more than this number of errors are encountered. This
# is a safety feature to prevent e.g. runaway node launches.