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

Pubsub can end up blocked by subscriptions with no subscribers #1685

Closed
Tracked by #1597
matt2e opened this issue Jun 6, 2024 · 0 comments · Fixed by #1752
Closed
Tracked by #1597

Pubsub can end up blocked by subscriptions with no subscribers #1685

matt2e opened this issue Jun 6, 2024 · 0 comments · Fixed by #1752
Assignees

Comments

@matt2e
Copy link
Collaborator

matt2e commented Jun 6, 2024

  • Have 5 subscriptions with no subscribers
  • Publish events to each subscription's topic
  • Now when controllers try to progress subscriptions, they will always get these subscriptions because they have the oldest cursor and we limit by 3
  • controllers try to progress 3 of these subscriptions, which becomes a no-op because there are no subscribers
  • ... repeat indefinitely, so we never actually progress subscriptions with newer cursors and actual subscribers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant