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

Prevent reassembly queue getting stuck #66

Merged
merged 3 commits into from
Sep 28, 2019
Merged

Conversation

hugoArregui
Copy link
Member

If the queue is full but is not readable and an ordered chunk arrives, push it anyway, otherwise the queue may be stuck as unreadable forever.

Related #63

If the queue is full but is not readable and an ordered chunk arrives,
push it anyway, otherwise the queue may be stuck as unreadable forever
@hugoArregui hugoArregui changed the title Prevent reassembly queue to get stuck Prevent reassembly queue getting stuck Sep 28, 2019
@codecov-io
Copy link

codecov-io commented Sep 28, 2019

Codecov Report

Merging #66 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
- Coverage   75.95%   75.93%   -0.03%     
==========================================
  Files          43       43              
  Lines        2620     2626       +6     
==========================================
+ Hits         1990     1994       +4     
- Misses        508      509       +1     
- Partials      122      123       +1
Impacted Files Coverage Δ
chunk_payload_data.go 64.7% <ø> (ø) ⬆️
chunk_init_ack.go 25.71% <ø> (ø) ⬆️
chunk_init_common.go 55.55% <ø> (ø) ⬆️
chunk_heartbeat_ack.go 0% <ø> (ø) ⬆️
association.go 81.77% <100%> (-0.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5d237f...508f8b4. Read the comment docs.

@hugoArregui hugoArregui force-pushed the topic-ordered-fix branch 2 times, most recently from e1acbc0 to 88cecef Compare September 28, 2019 17:15
Copy link
Member

@enobufs enobufs left a comment

Choose a reason for hiding this comment

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

Nice work @hugoArregui
I really love seeing some step up and go for fixing problems even in the unfamiliar area.
My producible test using vnet has proven your fix works! Hi-five!

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.

3 participants