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

Restarting nats stops stream processing forever #3177

Closed
matrixbot opened this issue Nov 1, 2024 · 1 comment
Closed

Restarting nats stops stream processing forever #3177

matrixbot opened this issue Nov 1, 2024 · 1 comment
Labels
T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @recht at matrix-org/dendrite#3177.

Background information

  • Dendrite version or git SHA: 0.13.1
  • SQLite3 or Postgres?: Postgres
  • Running in Docker?: Yes
  • go version: 1.19.7
  • Client used (if applicable):

Description

  • What is the problem: Dendrite stops processing events if nats is restarted.
  • Who is affected: Everybody
  • How is this bug manifesting: Restart the entire nats cluster in a non-rolling fashion. This will trigger a nats: Server Shutdown error which exits the JetStreamConsumers, but leaves the rest of the system running. Only remediation seems to be to restart the server.
  • When did this first appear:

Steps to reproduce

  • Start Dendrite
  • Kill all nats servers simultaneously
  • Messages are no longer processed

Ideally Dendrite would reconnect once nats is available again. Alternatively the service should exit, or at the very list trigger a signal somewhere that streams are no longer being processed.

@matrixbot matrixbot added the T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. label Nov 1, 2024
@S7evinK
Copy link
Contributor

S7evinK commented Jan 19, 2025

Should be fixed with #3485

@S7evinK S7evinK closed this as completed Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

2 participants