-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[warm-upgrade] db_migrator.py takes more time to run due to numerous entries to migrate in APPL_DB ROUTE_TABLE #17322
Closed
stepanblyschak opened this issue
Nov 28, 2023
· 0 comments
· Fixed by sonic-net/sonic-utilities#3068 or sonic-net/sonic-swss#2981
Closed
[warm-upgrade] db_migrator.py takes more time to run due to numerous entries to migrate in APPL_DB ROUTE_TABLE #17322
stepanblyschak opened this issue
Nov 28, 2023
· 0 comments
· Fixed by sonic-net/sonic-utilities#3068 or sonic-net/sonic-swss#2981
Labels
Comments
yxieca
pushed a commit
to sonic-net/sonic-utilities
that referenced
this issue
Dec 15, 2023
Fix sonic-net/sonic-buildimage#17322 Remove the route migration operation from db_migrator. The route migration operation takes a lot of time as indicated in the below issue. This is not necessary since the hardcoded assert in the fpmsyncd on new fields is removed in sonic-net/sonic-swss#2981
mssonicbld
pushed a commit
to mssonicbld/sonic-utilities
that referenced
this issue
Dec 16, 2023
Fix sonic-net/sonic-buildimage#17322 Remove the route migration operation from db_migrator. The route migration operation takes a lot of time as indicated in the below issue. This is not necessary since the hardcoded assert in the fpmsyncd on new fields is removed in sonic-net/sonic-swss#2981
mssonicbld
pushed a commit
to sonic-net/sonic-utilities
that referenced
this issue
Dec 16, 2023
Fix sonic-net/sonic-buildimage#17322 Remove the route migration operation from db_migrator. The route migration operation takes a lot of time as indicated in the below issue. This is not necessary since the hardcoded assert in the fpmsyncd on new fields is removed in sonic-net/sonic-swss#2981
mssonicbld
pushed a commit
to mssonicbld/sonic-utilities
that referenced
this issue
Feb 2, 2024
Fix sonic-net/sonic-buildimage#17322 Remove the route migration operation from db_migrator. The route migration operation takes a lot of time as indicated in the below issue. This is not necessary since the hardcoded assert in the fpmsyncd on new fields is removed in sonic-net/sonic-swss#2981
mssonicbld
pushed a commit
to sonic-net/sonic-utilities
that referenced
this issue
Feb 2, 2024
Fix sonic-net/sonic-buildimage#17322 Remove the route migration operation from db_migrator. The route migration operation takes a lot of time as indicated in the below issue. This is not necessary since the hardcoded assert in the fpmsyncd on new fields is removed in sonic-net/sonic-swss#2981
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
db_migrator.py takes more then 4 sec more to execute when upgrading from 202205 to 202305 comparing to an upgrade from 202205 to 202211.
db_migrator.py must run before any other service, so it is contributing to the total downtime.
This is adding 4 sec to control plane restoration time.
Steps to reproduce the issue:
Describe the results you received:
In 202205->202211 upgrade:
In 202205->202305 upgrade:
The profile (timings differnet due to taking the profile when the system is at idle):
Most of the time spent in migrate_route_table. This call does not exist in 202211 db_migrator.
Describe the results you expected:
Migrating many APPL_DB entries can cause performance problems. How can we solve this issue?
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: