-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
I've been seeing an issue for a while now that I think relates to OPCache and generated metadata. It's not easy to replicate, but usually clears on subsequent deployments.
There are two scenarios I have seen:
- Addition of new plugin, this plugin doesn't fire until after second deployment with no code changes.
- Addition of new extension attributes - new attributes don't get added to generated class even after new deployment, causing site errors, solution has previously been to copy locally generated correct class onto server to replace cap generated file.
I think this is related to OPCaching of generated files, we use the cap opcache tool but this only clears opcache at the end of each deployment
Metadata
Metadata
Assignees
Labels
No labels