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

Document peer set deadlock resistance #1972

Merged
merged 2 commits into from
Apr 2, 2021
Merged

Conversation

teor2345
Copy link
Contributor

@teor2345 teor2345 commented Apr 1, 2021

Motivation

We need to document code that could cause deadlocks if it is changed.

Solution

Document how we avoid a potential deadlock between the peer set and crawler when the demand queue is full.

Review

Anyone can review, this is not urgent at all.

Related Issues

#1950 deadlock fix when peer set is empty

@teor2345 teor2345 added A-docs Area: Documentation C-enhancement Category: This is an improvement P-Medium C-security Category: Security issues I-hang A Zebra component stops responding to requests labels Apr 1, 2021
@teor2345 teor2345 added this to the 2021 Sprint 6 milestone Apr 1, 2021
@teor2345 teor2345 requested a review from a team April 1, 2021 09:23
@teor2345 teor2345 self-assigned this Apr 1, 2021
@dconnolly dconnolly merged commit 83b88f5 into main Apr 2, 2021
@dconnolly dconnolly deleted the peer-set-demand-deadlock-doc branch April 2, 2021 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation C-enhancement Category: This is an improvement C-security Category: Security issues I-hang A Zebra component stops responding to requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants