Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

[node] Insufficient awaits for multiple protocols being executed across clients #2345

Open
cf19drofxots opened this issue Sep 6, 2019 · 0 comments
Labels
🐞 Bug 📦 Node code related to packages/node

Comments

@cf19drofxots
Copy link
Member

cf19drofxots commented Sep 6, 2019

Currently, if two Nodes that have a channel with each other simultaneously dispatch calls in which this channel is operated on, the state of the channel can get modified that effect the execution of the protocols (i.e. signature verification on differing channel states).

This happens because:

  1. there are no global queues for the clients to look up which channels are "locked" (i.e. being operated on) (since only local queues exist)
  2. the checks for whether a protocol is already in execution on this channel such that the incoming operation should be awaited is seemingly faulty
@cf19drofxots cf19drofxots added 📦 Node code related to packages/node 🐞 Bug labels Sep 6, 2019
@cf19drofxots cf19drofxots changed the title [node] Sync issue on multiple protocols being executed across clients [node] Insufficient awaits for multiple protocols being executed across clients Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 Bug 📦 Node code related to packages/node
Projects
None yet
Development

No branches or pull requests

1 participant