-
Notifications
You must be signed in to change notification settings - Fork 78
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
ERROR: duplicate key value violates unique constraint "django_dramatiq_task_pkey" #105
Comments
@Bogdanp any idea about what might cause this error? |
Noticed this on my Google cloud VM as well. Everything seems to be functioning as we would expect, just have a nice large 3.5m entry log file. I use the same back end (RabbitMQ). |
happens for me as well when trying to do a |
Have the same issue I assume that it might be because of 2 django nodes working in parallel. |
Same issue when adding pre_save listener to a model with uuid as primary key or overriding its save-method . |
The error occurs due to the race-cond in update_or_create of the create_or_update_from_message method.
I don't think it can be done better here. * The possibility of race-cond in update_or_create is specified in the django dock: |
In a fresh installation of django-dramatiq, I got the following error:
Version: 0.10.0
Broker: rabbitmq
The text was updated successfully, but these errors were encountered: