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

race condition on worker process #313

Closed
goenning opened this Issue Mar 12, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@goenning
Copy link
Member

goenning commented Mar 12, 2018

When posting an idea, if the worker tries to send a notification before the idea is committed to the database, we get an app.ErrNotFound error on the worker process.

@goenning goenning added the type: bug label Mar 12, 2018

@goenning goenning added this to the v0.11.0: March/2018 milestone Mar 12, 2018

goenning added a commit that referenced this issue Mar 12, 2018

goenning added a commit that referenced this issue Mar 12, 2018

fix: #313 by enqueuing it only after commit (#314)
* fix #313 by enqueing it only after commit

* add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment