Tuesday, July 3, 2012

get_or_create() race condition MySQL - second fix!

Hi guys,

A while ago we released a monkey patch which resolved the get_or_create() race condition when used in combination with READ COMMITED transaction isolation.

However, this caused issues with legacy applications, so we have released a new fix that works without READ COMMITED.

The code snippet can be found here, along with details:
https://code.djangoproject.com/ticket/18557

Thanks

Cal

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment