-
Notifications
You must be signed in to change notification settings - Fork 816
Generic Configuration Updater (GCU) performance enhancements #3831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lguohan
merged 17 commits into
sonic-net:master
from
bhouse-nexthop:bhouse-nexthop/gcu-perf
Nov 3, 2025
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
fc9ae89
optimization: prevent unneeded deep copies that show up in profiling
bradh352 040b0ff
sy.loadData() implicitly does a validation already, no need to re-do it
bhouse-nexthop 0f5991e
move configdb path<>xpath conversion to sonic-yang-mgmt
bradh352 6ebf5b6
functions to sort table keys by backlinks and musts
bradh352 c17c330
move generators: Use new key sorting
bradh352 1e9858c
JsonMoveGroup: new toplevel output for move generators
bradh352 63ed65f
optimization: avoid reloading configuration as much as possible
bradh352 9ad1c0b
add BulkLowLevelMoveGenerator()
bradh352 0d164e4
JsonMove: implement basic undo support
bhouse-nexthop 6632b69
add BulkKeyLevelMoveGenerator()
bradh352 ac88cdc
ChangeApplier: no need to re-read configdb twice per patch
bradh352 4b1c821
Remove invalid test cases
bradh352 b5232cc
config_db updates: work around race condition
bhouse-nexthop 7338a6f
BulkKeyGroupLowLevelMoveGenerator: Group updates across keys for the …
bhouse-nexthop 6ada024
BulkKeyGroupLowLevelMoveGenerator: optimize for restricted keys
bhouse-nexthop 9505928
fix lint whitespace issues
bhouse-nexthop 21c4da0
fix test cases due to removal of import in change_applier
bhouse-nexthop File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing this block of code? It seems useful for a bugfix.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the commit message for this change:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The motivation of #2295 is explained in PR description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR #2295 is about
remove_backend_tables_from_confignot about re-reading configdb again. When the configdb is infact read again, theremove_backend_tables_from_configis still called.