Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
endpoint: don't start DNS history trigger when parsing endpoint
[ upstream commit 0bb676d ] This trigger may be, well, triggered when reacting to a DNS request -- even when the agent is starting up. This could lead to a deadlock, as the datapath is not able to write the endpoint header file until the agent is started, but the agent cannot finish starting as the endpoint is locked. The fix for this is to remove the unnecessary trigger initialization on endpoint parsing; we will always start it on first regeneration. This catches a case missed in cilium#34059, which only fixed the new-endpoint case. Signed-off-by: Casey Callendrello <[email protected]> Signed-off-by: David Bimmler <[email protected]>
- Loading branch information