You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the subscriptions of a peer are sent, we add them to the subscribers for a given topic, but we have to wait for the heartbeat before they (might) get added to the mesh for the topic, so there's a brief window during which we know a peer is interested in a topic, but we won't gossip any messages on that topic to them.
I'm not sure why it's like this, we could rebalance the mesh when we are informed of their subscriptions and before emitting the subscription-change event, then arbitrary delays in tests like this would not be necessary which makes everything a lot less flaky.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
When the subscriptions of a peer are sent, we add them to the subscribers for a given topic, but we have to wait for the heartbeat before they (might) get added to the mesh for the topic, so there's a brief window during which we know a peer is interested in a topic, but we won't gossip any messages on that topic to them.
I'm not sure why it's like this, we could rebalance the mesh when we are informed of their subscriptions and before emitting the
subscription-change
event, then arbitrary delays in tests like this would not be necessary which makes everything a lot less flaky.The text was updated successfully, but these errors were encountered: