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

Job execution doesn't work on multiple database #1286

Closed
dagarwal82 opened this issue Mar 24, 2015 · 1 comment
Closed

Job execution doesn't work on multiple database #1286

dagarwal82 opened this issue Mar 24, 2015 · 1 comment
Assignees
Milestone

Comments

@dagarwal82
Copy link

Here is the sequnce:

  1. Deploy the application under _system.

  2. Push a job to the queue

  3. job executes successfully

  4. Add a new database, restart the arangodb and deploy the application there

  5. Push a job to the queue to either _system or newly created database

  6. Job gets added to the queue but never executes.

  7. Delete the newly created database

  8. Push the job to the queue of _system.

  9. It gets added but never executes.

  10. Restart the arangodb, push the job and it executes.

Queue and Job Type names utilizes the current database name and therefore there is no name clash

@pluma
Copy link
Contributor

pluma commented May 28, 2015

This has been fixed in devel and will be part of the 2.6.0 release.

However there's a bigger problem with job types having to be loaded before the queue workers get to the job in question, which causes problems when ArangoDB is restarted and the code that defines the job type hasn't been run again. For that see #1336.

@pluma pluma closed this as completed May 28, 2015
@pluma pluma self-assigned this May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants