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

Support multi-node task-queue #1112

Closed
timbru opened this issue Sep 20, 2023 · 1 comment
Closed

Support multi-node task-queue #1112

timbru opened this issue Sep 20, 2023 · 1 comment
Projects

Comments

@timbru
Copy link
Contributor

timbru commented Sep 20, 2023

Depends on #1101.

When multi-node setups with database storage (postgresql) are supported, then we also need to support multiple nodes using a shared queue.

We may want to insist that each node has a unique name (if postgresql is used as a storage option) and track which node is running a certain task.

Then we can also use this info on a restart. I.e. all running tasks for the restarted node can be assumed to have failed and can be restarted.

@timbru timbru created this issue from a note in 0.14.x (To do) Sep 20, 2023
@timbru timbru added this to To do in 0.15.x Oct 25, 2023
@timbru timbru removed this from To do in 0.14.x Oct 31, 2023
@timbru
Copy link
Contributor Author

timbru commented Dec 7, 2023

Closing this for now. The task queue relies on storage transactions, at least in #1152. This should work cross node if a database is introduced. If there is a desire to do something else then it should probably be discussed elsewhere, and then issues can be created as needed.

@timbru timbru closed this as completed Dec 7, 2023
0.15.x automation moved this from To do to Done Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant