You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of flushAll in object-cache.php is catastrophic if you are using multiple databases in Redis. Not sure why flushdb isn't used here instead since database partitioning is built in.
We have 14 separate databases in our Redis implementation with different apps/services using different dBs. Couldn't explain why dBs were seemingly randomly losing all cached data until we eventually tracked it down to the use of wp-redis's object-cache.php in our WordPress projects, each of which is using a separate dB in a single Redis deployment.
The text was updated successfully, but these errors were encountered:
We have 14 separate databases in our Redis implementation with different apps/services using different dBs. Couldn't explain why dBs were seemingly randomly losing all cached data until we eventually tracked it down to the use of wp-redis's object-cache.php in our WordPress projects, each of which is using a separate dB in a single Redis deployment.
Sorry about that :( Must've been a painful bug.
I'm hesitant to tag a new release right now. You're welcome to apply the change however most convenient if you want an immediate fix, and I'll tag WP Redis v0.8.0 with the change on the first full week of January.
The use of
flushAll
in object-cache.php is catastrophic if you are using multiple databases in Redis. Not sure whyflushdb
isn't used here instead since database partitioning is built in.We have 14 separate databases in our Redis implementation with different apps/services using different dBs. Couldn't explain why dBs were seemingly randomly losing all cached data until we eventually tracked it down to the use of wp-redis's object-cache.php in our WordPress projects, each of which is using a separate dB in a single Redis deployment.
The text was updated successfully, but these errors were encountered: