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

[Bug] Server restarts in incorrect state when using file-backed persistence #632

Closed
dandavison opened this issue Aug 9, 2024 · 0 comments · Fixed by #582
Closed

[Bug] Server restarts in incorrect state when using file-backed persistence #632

dandavison opened this issue Aug 9, 2024 · 0 comments · Fixed by #582
Labels
bug Something isn't working

Comments

@dandavison
Copy link
Contributor

Describe the bug

When using file-backed persistence, restarting the server after a ctrl-c shutdown brings it back up in an incorrect state.

Minimal Reproduction

  1. temporal server start-dev --db-filename=/tmp/db
  2. ctrl-c once it's started
  3. temporal server start-dev --db-filename=/tmp/db
  4. You'll now get a stream of these errors (or if not, try ctrl-c again and start server again)
time=2024-08-09T11:56:02.240 level=ERROR msg="service failures" operation=PollWorkflowTaskQueue wf-namespace=temporal-system error="Not enough hosts to serve the request"
time=2024-08-09T11:56:02.243 level=ERROR msg="Unable to call matching.PollActivityTaskQueue." service=frontend wf-task-queue-name=/_sys/temporal-sys-processor-parent-close-policy/2 timeout=1m8.90395s error="Not enough hosts to serve the request"
  1. The main UI root page is served correctly: http://localhost:8233/namespaces/default/workflows
  2. If you try to start a workflow that works, but then navigating to the workflow page is 503 Not enough hosts to serve the request

Environment/Versions

1.0 and when built against recent server.

@dandavison dandavison added the bug Something isn't working label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant