Skip to content

Commit 5600c4c

Browse files
authored
[routeorch] Remove updateRoute call to prevent set operations (#3923)
This call to updateRoute is not needed because the route entry has already been removed. It is causing unneccesary route set operations and printing harmless (but verbose) error logs. Removing this call to prevent the side-effects. What I did Removed call to updateRoute from removeRoutePost path. Why I did it This call is not needed, and is causing error logs.
1 parent 7ea13fc commit 5600c4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

orchagent/routeorch.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2895,7 +2895,6 @@ bool RouteOrch::removeRoutePost(const RouteBulkContext& ctx)
28952895
removeNextHopRoute(*nh, routekey);
28962896
}
28972897
}
2898-
mux_orch->updateRoute(ipPrefix);
28992898
}
29002899
}
29012900
else if (ol_nextHops.is_overlay_nexthop())

0 commit comments

Comments
 (0)