Skip to content

Keep incrementing sequence number when link prober is suspended and shutdown #55#65

Merged
zjswhhh merged 2 commits intosonic-net:202012from
zjswhhh:sequenceNumber_202012
Apr 15, 2022
Merged

Keep incrementing sequence number when link prober is suspended and shutdown #55#65
zjswhhh merged 2 commits intosonic-net:202012from
zjswhhh:sequenceNumber_202012

Conversation

@zjswhhh
Copy link
Collaborator

@zjswhhh zjswhhh commented Apr 15, 2022

Description of PR

Unable to cherry-pick the commit below cleanly from master branch:
13f4879 Jing Zhang Sun Apr 3 21:56:33 2022 -0700 Keep incrementing sequence number when link prober is suspended and shutdown (#55)

Summary:
Fixes # (issue)

This PR is fix the issue when both sides' link prober is suspended, LinkManager still appears to be healthy.

When HB suspends, TX sequence number is not updated either, hence link prober won't post an unknown event.

sign-off: Jing Zhang [email protected]

Type of change

  • Bug fix
  • New feature
  • Doc/Design
  • Unit test

Approach

What is the motivation for this PR?

Make sure link prober is reporting unknown event when it's suspended or shutdown on both sides.

How did you do it?

Increment sequence number even when HB is not sent.

How did you verify/test it?

Tested on dualToR testbed.

Any platform specific information?

Documentation

@zjswhhh zjswhhh requested review from lolyu, qiluo-msft and yxieca April 15, 2022 01:05
@zjswhhh zjswhhh merged commit 8282e78 into sonic-net:202012 Apr 15, 2022
@zjswhhh zjswhhh deleted the sequenceNumber_202012 branch April 15, 2022 22:59
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.

2 participants