Actually fix the problem I just tried to fix a minute ago.

This commit is contained in:
Seth Hall 2012-11-28 15:58:29 -05:00
parent 92285a9711
commit f1b7ca62ee

View file

@ -217,10 +217,13 @@ event Metrics::cluster_index_intermediate_response(id: string, filter_name: stri
{
#print fmt("MANAGER: receiving intermediate index data from %s", get_event_peer()$descr);
#print fmt("MANAGER: requesting index data for %s", index2str(index));
++recent_global_view_indexes[id, filter_name, index];
# If a worker recently sent this as an intermediate update, don't request it.
if ( [id, filter_name, index] in recent_global_view_indexes )
return;
++recent_global_view_indexes[id, filter_name, index];
local uid = unique_id("");
event Metrics::cluster_index_request(uid, id, filter_name, index);
}