sonic-buildimage/files/image_config/config-setup
Vaibhav Hemant Dixit b62231566b 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-17 14:32:23 +08:00
..
config-setup Revert "Fix for fast/cold-boot: call db_migrator only after old config is loaded (#14933)" (#15464) 2023-06-17 14:32:23 +08:00