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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.1
    • 2.5.5, 2.6.2
    • Caching
    • MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • 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

    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

              maherne Michael Aherne
              maherne Michael Aherne
              Dan Poltawski Dan Poltawski
              Damyon Wiese Damyon Wiese
              Sam Hemelryk Sam Hemelryk
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Mar/14