Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44006

MongoDB and memcached stores report MODE_SESSION but can't be used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.5.5, 2.6.2
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide

      To test the patch:

      1. Go to Site Administration -> Plugins -> Caching -> Configuration
      2. Confirm that the Memcached, Memcache and MongoDB plugins report only "Application" mode
      Show
      To test the patch: Go to Site Administration -> Plugins -> Caching -> Configuration Confirm that the Memcached, Memcache and MongoDB plugins report only "Application" mode
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:

      Description

      MDL-38565 introduced a change where, in order to be available as a session store, a store plugin had to implement cache_is_searchable.

      The MongoDB and memcached stores do not implement this interface, and are therefore unavailable as session caches, but still report that they are, in the cache configuration interface as well as the code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              maherne Michael Aherne
              Reporter:
              maherne Michael Aherne
              Peer reviewer:
              Dan Poltawski
              Integrator:
              Damyon Wiese
              Tester:
              Sam Hemelryk
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Mar/14