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

Synchronisation of updated bundles still has problems #27

Open
gardners opened this issue Apr 29, 2018 · 0 comments
Open

Synchronisation of updated bundles still has problems #27

gardners opened this issue Apr 29, 2018 · 0 comments
Labels

Comments

@gardners
Copy link
Member

We are still seeing problems where if a MeshMS conversation already exists, sending a message may result in non-delivery, because the sender mistakenly doesn't realise that the recipient has only an older version.

We have implemented a partial work-around, where if we see a peer sending and old version of a bundle that we have a newer version, we [re-]queue the latest version for transmission to the recipient.

However, this only works if we see the peer actively sending the wrong version. We still need to get to the bottom of how the situation comes about in the first place. Does treesync work out the situation correctly? Does LBARD queue the bundle for TX? If so, does it get mistakenly de-queued due to the presence of the old version?

Part of the problem has been in reproducing the problem.
To help this, some instrumentation has been added to LBARD that optionally logs the queue and dequeue events.

@gardners gardners added the bug label Apr 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant