Skip to content

Commit

Permalink
[sim] Do note remove tasks' data from the KB when they finish.
Browse files Browse the repository at this point in the history
  • Loading branch information
ms705 committed May 30, 2015
1 parent ea3be4c commit 030191e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sim/trace-extract/google_trace_simulator.cc
Expand Up @@ -1357,8 +1357,6 @@ void GoogleTraceSimulator::TaskCompleted(
JobID_t job_id = JobIDFromString((*td_ptr)->job_id());
// Remove the task node from the flow graph.
flow_graph_->TaskCompleted(task_id);
// Erase from knowledge base
RemoveTaskStats(task_id);
// Erase from local state: task_id_to_td_, task_id_to_identifier_, task_map_
// and task_bindings_, task_id_to_end_time_, res_id_to_task_id_.
task_id_to_td_.erase(task_identifier);
Expand Down

0 comments on commit 030191e

Please sign in to comment.