We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1623219 commit 731a8f5Copy full SHA for 731a8f5
orchagent/copporch.cpp
@@ -628,13 +628,15 @@ void CoppOrch::doTask(Consumer &consumer)
628
it = consumer.m_toSync.erase(it);
629
break;
630
case task_process_status::task_failed:
631
+ it = consumer.m_toSync.erase(it);
632
SWSS_LOG_ERROR("Processing copp task item failed, exiting. ");
633
return;
634
case task_process_status::task_need_retry:
635
SWSS_LOG_ERROR("Processing copp task item failed, will retry.");
636
it++;
637
638
default:
639
640
SWSS_LOG_ERROR("Invalid task status:%d", task_status);
641
642
}
0 commit comments