We should handle failed deletes as well, see #34806, which only touched
`save()`, not `delete()`. (Starting off as "bug" since the docs imply no
save-versus-delete distinction, to my ear.)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-...@googlegroups.com
#37210: Failed deletes in cached_db session backend should log, just like failed
writes
----------------------------------+------------------------------------
I reproduced the cache delete failure locally and added sync/async
regression tests. The PR makes cached_db delete failures non-fatal and
logs them consistently with save failures.
--
Ticket URL: <https://code.djangoproject.com/ticket/37210#comment:3>