mirror of
https://github.com/wassname/ray.git
synced 2026-08-08 11:25:28 +08:00
Warn the user when a nondeterministic task is detected. (#339)
* WARN instead of FATAL for object hash mismatches, push error to driver * Document the callback signature for object_table_add/remove * Error table * Wait for all errors in python test * Fix doc * Fix state test
This commit is contained in:
committed by
Robert Nishihara
parent
0b8d279ef2
commit
da06b4db82
@@ -351,7 +351,9 @@ TaskSpec *object_reconstruction_suppression_spec;
|
||||
int64_t object_reconstruction_suppression_size;
|
||||
|
||||
void object_reconstruction_suppression_callback(ObjectID object_id,
|
||||
bool success,
|
||||
void *user_context) {
|
||||
CHECK(success);
|
||||
/* Submit the task after adding the object to the object table. */
|
||||
LocalSchedulerConnection *worker = (LocalSchedulerConnection *) user_context;
|
||||
local_scheduler_submit(worker, object_reconstruction_suppression_spec,
|
||||
|
||||
Reference in New Issue
Block a user