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:
Robert Nishihara
2016-12-22 22:05:58 -08:00
committed by Philipp Moritz
parent 92010ca5b5
commit 86b211f5c2
5 changed files with 61 additions and 22 deletions
@@ -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,