-
Notifications
You must be signed in to change notification settings - Fork 903
[core] Fixed missing DROPREQ for LOSSREPORT that partially predates ACK. #2498
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
Merged
maxsharabayko
merged 3 commits into
Haivision:master
from
gou4shi1:fix-processCtrlLossReport
Dec 6, 2022
Merged
[core] Fixed missing DROPREQ for LOSSREPORT that partially predates ACK. #2498
maxsharabayko
merged 3 commits into
Haivision:master
from
gou4shi1:fix-processCtrlLossReport
Dec 6, 2022
Conversation
This file contains hidden or 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
33eb42c
to
69631ea
Compare
Codecov Report
@@ Coverage Diff @@
## master #2498 +/- ##
==========================================
+ Coverage 65.91% 66.13% +0.22%
==========================================
Files 100 100
Lines 19822 19801 -21
==========================================
+ Hits 13065 13096 +31
+ Misses 6757 6705 -52
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
69631ea
to
fcb90c0
Compare
any comment? |
ethouris
reviewed
Dec 5, 2022
ethouris
reviewed
Dec 5, 2022
ethouris
reviewed
Dec 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixed a bug occurred in group in-order message mode.
I only enabled few heavy logs in production env:
Note
@540801042:synchronizeWithGroup: DERIVED ISN: RCV=%1030134430 -> %1030134429 (shift by -1)
.-> sender sent
1030134428
, receiver member A received1030134428
, acked1030134429
-> sender sent
1030134429
, receiver member A not yet received1030134429
-> receiver member B was added into the group,
rcv_isn
was set to1030134430
from the sender handshake, then immediately set to1030134429
bysynchronizeWithGroup()
-> receiver member A received
1030134429
, acked1030134430
-> receiver member A was removed from the group
branch 1:
-> sender sent
1030134430
, receiver member B received, reported lossreport[1030134429]
-> sender received lossreport, but
1030134429
was predatedm_iSndLastAck (1030134430)
, ignored-> receiver member B was stuck at
1030134429
forever (no TLPKTDROP)branch 2:
-> sender sent
1030134430-1030134431
, receiver member B received1030134431
, reported lossreport[1030134429-1030134430]
-> sender received lossreport, but only
1030134430
was added into the send loss list-> receiver member B was stuck at
1030134429
forever (no TLPKTDROP)Previously, only if
LO < HI < m_iSndLastAck
, a DROPREQ will be sent.This PR fixed these cases:
LO < m_iSndLastAck <= HI
orLO == HI < m_iSndLastAck
.