Skip to content

Do not send UpdateOverview after handling a Config Update#1082

Closed
CodeMonkeyF5 wants to merge 1 commit intonginx:v3from
CodeMonkeyF5:config_update_no_overview
Closed

Do not send UpdateOverview after handling a Config Update#1082
CodeMonkeyF5 wants to merge 1 commit intonginx:v3from
CodeMonkeyF5:config_update_no_overview

Conversation

@CodeMonkeyF5
Copy link

@CodeMonkeyF5 CodeMonkeyF5 commented May 16, 2025

Removes unnecessary UpdateOverview as N1 doesn't need to be notified by Agent V3 for an update it just applied.

Proposed changes

Following a Config Update being applied by Agent V3 successfully, there is no need to send a FileOverview update (N1 already knows it and could be in the process of storing it).

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

Fixes race condition where config not yet stored in N1 receives Agent V3 update (for what it just applied) resulting in new config version being created.
@CodeMonkeyF5 CodeMonkeyF5 requested a review from a team as a code owner May 16, 2025 22:08
@CodeMonkeyF5
Copy link
Author

I have hereby read the F5 CLA and agree to its terms

@github-actions github-actions bot added the chore Pull requests for routine tasks label May 16, 2025
@CodeMonkeyF5 CodeMonkeyF5 marked this pull request as draft May 16, 2025 22:37
@CodeMonkeyF5 CodeMonkeyF5 deleted the config_update_no_overview branch May 22, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Pull requests for routine tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant