Question about drush cr

Created on 6 April 2020, almost 5 years ago
Updated 26 May 2023, almost 2 years ago

Hi,

We're migrating to another infrastructure (AWS) and noticed something that prompted me to open a question here.
Basically, we had to import our current DB to the new infrastructure, containing new and updated code.

After importing, running drush cr and config import we were constantly getting issues with some classes and entities missing (like webform) even though there were there.

When we tried to reproduce on local we couldn't which led us to check Redis. Indeed, after clearing Redis the issue went away.

So my question is, does drush cr clear redis cache? Or is it possible that by having imported a DB we ended up with a corrupt/out of synch redis cache.

If it doesn't clear the cache on Redis, what would be the correct workaround for this scenario?

Thanks!

💬 Support request
Status

Closed: duplicate

Version

1.4

Component

Code

Created by

🇦🇺Australia kyuubi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024