Skip to content

Commit

Permalink
Add task exclusion between FlowHandler and StatsCollector
Browse files Browse the repository at this point in the history
If Statscollector and flow-handler run in parallel, when flow-handler is
modifying a flows, its possible that stats-collector tries to access
flow contents.

Add task exclusion between stats-collector and flow-handler for R2.2*.
In R3.0 and above these two task can run in parallel.

Change-Id: I9d4601f00b95890d7a3ffdfd0317d519be628d9c
Closes-Bug: #1554246
  • Loading branch information
praveenkv committed Mar 8, 2016
1 parent 3be9006 commit 29df647
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vnsw/agent/cmn/agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ void Agent::SetAgentTaskPolicy() {
sizeof(db_exclude_list) / sizeof(char *));

const char *flow_exclude_list[] = {
"Agent::StatsCollector",
"io::ReaderTask",
"Agent::PktFlowResponder",
AGENT_INIT_TASKNAME
Expand Down

0 comments on commit 29df647

Please sign in to comment.