Skip to content

[action] [PR:15464] Revert "Fix for fast/cold-boot: call db_migrator only after old config is loaded"#15618

Merged
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/15464
Jun 29, 2023
Merged

[action] [PR:15464] Revert "Fix for fast/cold-boot: call db_migrator only after old config is loaded"#15618
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/15464

Conversation

@mssonicbld
Copy link
Collaborator

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

…g is loaded (sonic-net#14933)" (sonic-net#15464)

This reverts commit 02b1783.

Reverts sonic-net#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
@mssonicbld
Copy link
Collaborator Author

Original PR: #15464

@StormLiangMS
Copy link
Contributor

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@StormLiangMS
Copy link
Contributor

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit bb3eff6 into sonic-net:202305 Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants