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] PostgresQueueDao processAllUnacks thread dies silently #326

Open
pmchung opened this issue Dec 2, 2024 · 0 comments
Open

[Bug] PostgresQueueDao processAllUnacks thread dies silently #326

pmchung opened this issue Dec 2, 2024 · 0 comments

Comments

@pmchung
Copy link

pmchung commented Dec 2, 2024

Describe the bug
When conductor loses connection to postgres for a period of time and the newSingleThreadScheduledExecutor that executes processAllUnacks throws an exception (due to loss of connection or any other reason), no more task are scheduled.

Details
Conductor version: All
Persistence implementation:Postgres
Queue implementation: Postgres
Lock: Redis
Workflow definition:
Task definition:
Event handler definition:

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
The thread should continue attempts to execute processAllUnacks as postgres connection will eventually recover.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
https://stackoverflow.com/questions/6894595/scheduledexecutorservice-exception-handling

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

No branches or pull requests

1 participant