diff --git a/orchagent/mirrororch.cpp b/orchagent/mirrororch.cpp index 2455c5bff0..f62a1cf256 100644 --- a/orchagent/mirrororch.cpp +++ b/orchagent/mirrororch.cpp @@ -1370,7 +1370,10 @@ void MirrorOrch::updateLagMember(const LagMemberUpdate& update) // If LAG is empty, deactivate session if (update.lag.m_members.empty()) { - deactivateSession(name, session); + if (session.status) + { + deactivateSession(name, session); + } session.neighborInfo.portId = SAI_OBJECT_TYPE_NULL; } // Switch to a new member of the LAG