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

Subscribers can miss a publication #765

Open
osrf-migration opened this issue Jul 3, 2013 · 3 comments
Open

Subscribers can miss a publication #765

osrf-migration opened this issue Jul 3, 2013 · 3 comments
Labels

Comments

@osrf-migration
Copy link

Original report (archived issue) by Nate Koenig (Bitbucket: Nathan Koenig).


Test case:

  1. Create two subscribers to the same topic in different processes.

  2. Create a publisher that publishes a message on the topic, and then immediately quits.

Occasionally, one of the subscribers will not get the message due to communication delays (processing the connections between subscribers and publishers is asynchronous).

A publisher can call WaitForConnection, but this will wait for only the first connection. We could extend Master to tell a publisher the number of current subscribers on a topic. WaitForConnection could then wait for all the connections, with a timeout.

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • Edited issue description

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


  • set component to "transport"

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • set version to "all"

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