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

Open
recht opened this issue Aug 12, 2023 · 0 comments
Open

Restarting nats stops stream processing forever #3177

recht opened this issue Aug 12, 2023 · 0 comments
Labels
T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@recht
Copy link
Contributor

recht commented Aug 12, 2023

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.

@S7evinK S7evinK added the T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. label Aug 28, 2023
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