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

Backup link selection to crop-active improved to find oldest active #1473

Merged

Conversation

ethouris
Copy link
Collaborator

The "cropping" in case of backup mode means to look over the list of currently running stable links, select the "best" one and silence the others.

By default the links are cropped to the one with highest priority.

In case when there are more than 1 link of the highest priority, they are additionally sorted by activation time. This rules out links that have been temporary-activated, and if none of them is exit the temporary-activation state, then select the oldest activated out of them.

So, with this fix, the link with highest priority AND oldest activation time is selected.

@ethouris ethouris self-assigned this Aug 13, 2020
@ethouris ethouris added [core] Area: Changes in SRT library core Impact: Significant Priority: Low Type: Maintenance Work required to maintain or clean up the code labels Aug 13, 2020
@ethouris ethouris added this to Backlog in Development via automation Aug 13, 2020
Copy link
Collaborator

@maxsharabayko maxsharabayko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an update

Development automation moved this from Backlog to Needs Review Sep 7, 2020
@maxsharabayko maxsharabayko added this to the v1.5.0 - Sprint 22 milestone Sep 7, 2020
@maxsharabayko maxsharabayko modified the milestones: v1.5.0 - Sprint 22, v1.5.0 - Sprint 23 Sep 8, 2020
@maxsharabayko maxsharabayko self-assigned this Sep 8, 2020
Development automation moved this from Needs Review to Reviewer Approved Sep 9, 2020
@maxsharabayko maxsharabayko merged commit 9953e9f into Haivision:master Sep 11, 2020
Development automation moved this from Reviewer Approved to Done Sep 11, 2020
@mbakholdina mbakholdina modified the milestones: v1.5.0 - Sprint 23, v1.4.2 Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Priority: Low Type: Maintenance Work required to maintain or clean up the code
Projects
No open projects
Development
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants