-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/endpoint: always copy existing state during synchronization
Endpoint regeneration goes to a lot of trouble to keep track of whether the on-disk state has changed, only to avoid doing a couple of readdir syscalls. The behaviour was added in commit f6c4385 ("pkg/endpoint: Keep BPF object files if compilation is skipped.") and the message does not indicate that performance was of particular concern. Do the safe thing and always perform the state copy. Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
- Loading branch information
1 parent
acf3141
commit 900c846
Showing
3 changed files
with
44 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters