-
Notifications
You must be signed in to change notification settings - Fork 861
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
Main/backup: changing switching rules #1857
Merged
maxsharabayko
merged 4 commits into
Haivision:master
from
maxsharabayko:develop/main-backup-switch
May 10, 2021
Merged
Main/backup: changing switching rules #1857
maxsharabayko
merged 4 commits into
Haivision:master
from
maxsharabayko:develop/main-backup-switch
May 10, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maxsharabayko
added
Type: Enhancement
Indicates new feature requests
[core]
Area: Changes in SRT library core
labels
Mar 11, 2021
This pull request introduces 1 alert when merging 2bdb324 into a1bcd4a - view on LGTM.com new alerts:
|
maxsharabayko
force-pushed
the
develop/main-backup-switch
branch
from
March 29, 2021 11:29
89cb4f5
to
55736ca
Compare
Additional metrics checked
Experiment
Problem
|
Member ordering rule by priority
|
This was referenced Mar 31, 2021
maxsharabayko
force-pushed
the
develop/main-backup-switch
branch
from
April 6, 2021 12:54
8e570f4
to
63283ca
Compare
maxsharabayko
force-pushed
the
develop/main-backup-switch
branch
3 times, most recently
from
May 3, 2021 15:36
9ec93ca
to
2a60fd7
Compare
Adding sendBackup_sendOverActive Still working on sendBackup_SendOverActive sendBackup_RetryWaitBlocked now waits for active links only Fixed parameter hiding Adding SendBackupCtx and updating active member states Passing SendBackupCtx to sendBackup_SendOverActive. TODO: iterate over active members sendBackup_SendOverActive now using SendBackupCtx WIP. Partially removed old lists of members Proceeding with the transition. Added sendBackup_CheckUnstableSockets. Modified sendBackup_CloseBrokenSockets, etc. Updated sendBackup_SilenceRedundantLinks Testable version Finished RetryWaitBlocked and silenceRedundantLinks Fixed some mistakes Added stability trace and fixed some issues Fixed AssignBackupState, removed some unused funcs Now using SockerData* instead of gli_t iterator Unstable if sndDrop or loss above 5 pct Improved EWMA loss percent (placed in ACK and NAK) Experimental: receiver drop reports snd rcv drop Fixed ACK rcv drop Wary probing for 2 x latency Ignore drops in activation Don't silence unstable if no stable members Improved member ordering: compare status value Removed extra stability metrics. RCV DROP in ACK, loss percent EWMA. Removed some unused functions
Removed unused sendBackup_CheckRunningLinkStable New connection error: broken as unstable
maxsharabayko
force-pushed
the
develop/main-backup-switch
branch
from
May 5, 2021 14:23
fe6afb8
to
58ffe25
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changing main backup switching logic (WIP).
Changes
sendBackup_RetryWaitBlocked
was not waiting for active links, but was waiting to activate backup links. It conflicts with the logic of the sending function, as all backup activation is handled previously insendBackup_TryActivateIdleLink
. Now waits for active links. Concern: if it happens (should not happen) that there is one idle (stand by) link in the group that was not activated previously, it will continuously report read-readiness, resulting in a CPU-intensive write-readiness checking loop.sendBackup_SendOverActive
function.