Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-48226 POLICY: Decide upon cache stores for Moodle 2.9
  3. MDL-48505

Remove the memcache cache store from Moodle core

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.9
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide

      Don't have the patch applied to start with.

      1. Install memcached and the memcache php extension
      2. In Moodle create a memcache cache store and map it to the strings cache
      3. Apply the patch
      4. Upgrade your site
      5. Browse to your site
      6. Check that you get a debugging notice about a cache store being defined that is no longer installed
      7. Check that all of the strings still display correctly.
      Show
      Don't have the patch applied to start with. Install memcached and the memcache php extension In Moodle create a memcache cache store and map it to the strings cache Apply the patch Upgrade your site Browse to your site Check that you get a debugging notice about a cache store being defined that is no longer installed Check that all of the strings still display correctly.
    • Affected Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      48505-29
    • Pull Master Diff URL:

      Description

      After discussion we think the memcache cache store should be removed from Moodle core and added to the plugins database.
      This does NOT effect the memcached cache store

      The biggest reason for this proposal is that unlike the memcached store the memcache store is not safe to use in situations where the memcache server is being used by other applications.
      As such this is not "multi-site safe".

      Memcached on the other hand can be made multi-site safe and is the faster of the two.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: