Hi all,
Redis is great!
but after lot of debugging and experiments on a multistep form that was giving random errors, we realised that it was the redis server resetting the cache to fast. We found this in this http://dropbucket.org/node/242 comment.
I think it should be added in the redis documentation as the form are part of Drupal core to save hours of debug to other developers.
My solution (I don't know if it is the best one) is to move the cache_form out from the Redis server:
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
and use the module https://www.drupal.org/project/safe_cache_form_clear
Comments
Comment #2
memtkmcc CreditAttribution: memtkmcc at Omega8.cc commentedIt was discussed in the past: #2145673: Document tables to move to redis caching
Comment #3
denix CreditAttribution: denix as a volunteer commentedYes, it has been discussed in the past, but it is still not mentioned in the documentation and the default is to normally flush cache_form :(
Comment #4
pounardActually, at some point in time, it was, but now it's not anymore because I considered it as being safe to write forms into Redis, as long as this bin is not marked as volatile.
@denix could you provide more details about your setup so that I could potentially fix the module if there's anything to fix ?
Comment #5
denix CreditAttribution: denix as a volunteer commentedSalut @pounard,
if you want I can give you more details in some chat, what do you prefer?
Comment #6
pounard@denix are you on IRC (freenode) ? If so, you can try to join me: /query pounard