Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lag_id] Add lagid to free_list when LC absent for 30 minutes #542

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

mlok-nokia
Copy link
Contributor

@mlok-nokia mlok-nokia commented Sep 28, 2024

Description

When LC is absent for 30 minutes, the database cleanup kicks in. When LagId is released, it needs to be appended to the SYSTEM_LAG_IDS_FREE_LIST

This PR works with the following 2 PRs:
sonic-net/sonic-swss#3303
sonic-net/sonic-buildimage#20369

Based on the dependency, the below order to merge these 3 PRs can help to avoid breaking the image run:
First: PR sonic-net/sonic-buildimage#20369
second: PR sonic-net/sonic-swss#3303
Third: PR #542 (This PR)

Motivation and Context

To address the issue of the same lagid could be used by two Portchannels in two different linecards. This issue occurs when reboot many Linecards together with 20 seconds delay in each LC reboot.

How Has This Been Tested?

Additional Information (Optional)

@mlok-nokia
Copy link
Contributor Author

@arlakshm and @judyjoseph Please review these 3 PRs. Thanks.

@arlakshm
Copy link
Contributor

/azpw ms_conflict

@rlhui rlhui merged commit 57f0448 into sonic-net:master Nov 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants