While Octopus comes with some useful bundled modules in the non-standard modules/o_contrib and modules/o_contrib_seven directories, they are duplicated in every new tree of platforms: /data/all/001, /data/all/002 etc.

We should put Redis caching backend modules in a one copy only, in some central, shared directory outside of modules/o_contrib and modules/o_contrib_seven directories and symlink there from all platforms, exactly as we do for global.inc file, which is separate only for master instance, while /data/conf/global.inc is shared across all satellite instances and sites.

This will help avoiding issues like: #1528692: Now required cache_backport and redis modules are never added to existing platforms on upgrade and will fix the missing cache backend in master instance: #1528708: Redis caching backend should be available and enabled also in the master instance.

Comments

omega8cc’s picture

Status: Active » Fixed
omega8cc’s picture

Category: task » bug
Priority: Normal » Major
Status: Fixed » Active

This works only for last two shared o_contrib and o_contrib_seven directories, which basically leaves all sites on older platforms without access to Redis. It is because we are using the same control file for the last two shared directories check and all the rest at the end, which effectively disables updating all shared directories older than last two. This is in fact correct behavior for all other shared modules directories, but Redis related modules are never symlinked in the old shared directories and even for one previous directory we still use separate copies instead of properly symlink it in all existing shared directories.

omega8cc’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.