mirror of
https://github.com/wassname/ray.git
synced 2026-08-13 12:30:18 +08:00
Give run_function_on_all_workers to take a worker_info dictionary including a counter. (#149)
* Suppress Redis warnings and remove some global scheduler logging. * Pass a counter into run_function_on_all_workers indicating how many workers have begun executing this function.
This commit is contained in:
committed by
Philipp Moritz
parent
92010ca5b5
commit
86b211f5c2
@@ -51,9 +51,9 @@ object_size_entry *create_object_size_hashmap(global_scheduler_state *state,
|
||||
HASH_FIND(hh, state->scheduler_object_info_table, &obj_id, sizeof(obj_id),
|
||||
obj_info_entry);
|
||||
if (obj_info_entry == NULL) {
|
||||
/* Global scheduler doesn't know anything about this object ID, so log a
|
||||
* warning and skipt it. */
|
||||
LOG_WARN("Processing task with object ID not known to global scheduler");
|
||||
/* Global scheduler doesn't know anything about this object ID, so skip
|
||||
* it. */
|
||||
LOG_DEBUG("Processing task with object ID not known to global scheduler");
|
||||
continue;
|
||||
}
|
||||
LOG_DEBUG("[GS] found object id, data_size = %" PRId64,
|
||||
|
||||
Reference in New Issue
Block a user