Skip to content

[Mellanox] Activate phcsync gate to prevent clock sync during warm reboot#1810

Closed
zili11720 wants to merge 1 commit into
sonic-net:masterfrom
zili11720:avoid_clock_sync_during_warm_reboot
Closed

[Mellanox] Activate phcsync gate to prevent clock sync during warm reboot#1810
zili11720 wants to merge 1 commit into
sonic-net:masterfrom
zili11720:avoid_clock_sync_during_warm_reboot

Conversation

@zili11720
Copy link
Copy Markdown
Contributor

@zili11720 zili11720 commented Mar 23, 2026

Activate phcsync_warm_reboot_gate.py when syncd starts instead of invoking phcsync.sh directly.

This PR is related to:
sonic-net/sonic-buildimage#26332
sonic-net/sonic-swss-common#1161

Together, these PRs introduce an event-driven mechanism that starts and stops phcsync.sh during a warm reboot.

Order of merge:

  1. [Warm Restart] Add waitWarmBootStarted to restartWaiter sonic-swss-common#1161
  2. [Mellanox] Add phcsync warm reboot gate to avoid sync during warm reboot sonic-buildimage#26332
  3. [Mellanox] Activate phcsync gate to prevent clock sync during warm reboot #1810

Signed-off-by: Zili Bombach <zbombach@nvidia.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants