Users getting logged out "randomly" due to a full/ephemeral cache server
is not a good user experience. It also leads to operational complexity.
The example that made me check this was [https://forum.djangoproject.com/t
/changing-session-engine-from-cache-to-cached-db/14421 a forum question
from Tim Schilling] about migrating between cache servers with the "cache"
backend, which is not easy.
--
Ticket URL: <https://code.djangoproject.com/ticket/33797>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
OK, thanks Adam, happy to look at a re-phrasing.
I think there's some value in mentioning that Redis **is persistent**
under standard configurations, so as not to mislead, whilst we're here.
--
Ticket URL: <https://code.djangoproject.com/ticket/33797#comment:1>
Comment (by Adam Johnson):
Agreed, although it depends on configuration. We could at least mention
"only some cache servers and configurations are persistent", or something
like that.
--
Ticket URL: <https://code.djangoproject.com/ticket/33797#comment:2>
* owner: nobody => Joseph Victor Zammit
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/33797#comment:3>
Comment (by Joseph Victor Zammit):
PR is open here: https://github.com/django/django/pull/16095
--
Ticket URL: <https://code.djangoproject.com/ticket/33797#comment:4>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/33797#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"fa9ac16c1345a7fb6ad500c84961a954529ba2b9" fa9ac16c]:
{{{
#!CommitTicketReference repository=""
revision="fa9ac16c1345a7fb6ad500c84961a954529ba2b9"
Fixed #33797 -- Prioritized cached database backend for cached sessions in
docs.
Co-authored-by: Adam Johnson <m...@adamj.eu>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33797#comment:6>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"d959d66fa9b930c7264cb7db90e8ec626e2c44dd" d959d66f]:
{{{
#!CommitTicketReference repository=""
revision="d959d66fa9b930c7264cb7db90e8ec626e2c44dd"
[4.1.x] Fixed #33797 -- Prioritized cached database backend for cached
sessions in docs.
Co-authored-by: Adam Johnson <m...@adamj.eu>
Backport of fa9ac16c1345a7fb6ad500c84961a954529ba2b9 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33797#comment:7>