sonic-buildimage/files/image_config/config-setup
Vaibhav Hemant Dixit 9649a44470
Revert "Fix for fast/cold-boot: call db_migrator only after old config is loaded (#14933)" (#15464)
This reverts commit 02b17839c3.

Reverts #14933

The earlier commit caused a race condition that particularly broke cross branch warm upgrade.

Issue happens when db_migrator is still migrating the DB and finalizer is checking DB for list of components to reconcile.

If migration is not complete, finalizer get an empty list to wait for. Due to this, finalizer concludes warmboot (deletes system wide warmboot flag) and cause all the services to do cold restart.

ADO: 24274591
2023-06-16 13:58:38 -07:00
..
config-setup Revert "Fix for fast/cold-boot: call db_migrator only after old config is loaded (#14933)" (#15464) 2023-06-16 13:58:38 -07:00