Description
Originally posted by @mvandenburgh in #1886 (comment):
This problem existed before this PR, but I'll just mention that by the time this
.save()
is called thisDandiset
object might be stale. I think we need to lock thedandiset
object with select_for_update.
dandi-archive/dandiapi/api/views/dandiset.py
Lines 416 to 420 in 0a225f4