Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

p2p/protocols: remove peer accounting lock#2112

Merged
acud merged 1 commit intomasterfrom
swap_no_protocol_lock
Feb 19, 2020
Merged

p2p/protocols: remove peer accounting lock#2112
acud merged 1 commit intomasterfrom
swap_no_protocol_lock

Conversation

@ralph-pichler
Copy link
Member

@ralph-pichler ralph-pichler commented Feb 19, 2020

This removes the lock introduced in #2051 for consistency reasons which broke swap-enabled retrieval due to a deadlock, see #2110 for details.

All the data access is already protected by other locks, so this should be safe to remove.
closes #2110

@acud acud added this to the 0.5.7 milestone Feb 19, 2020
@acud acud merged commit e59cc6b into master Feb 19, 2020
@acud acud deleted the swap_no_protocol_lock branch February 19, 2020 13:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

accounting lock leads to deadlock with retrieval

3 participants