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

All MUC session stores always write to the cache, even if never read from

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.10, 4.0
    • Fix Version/s: None
    • Component/s: Caching

      Description

      The mere act of loading any cache def which is in the session:

      $cache = cache::make('core', 'calendar_categories');
      $cache = cache::make('core', 'userselections');
      $cache = cache::make('core', 'grade_categories');

      Means that this will write to the cache with some metadata which I can't properly see any valid reason for:

        Attachments

          Activity

            People

            Assignee:
            brendanheywood Brendan Heywood
            Reporter:
            brendanheywood Brendan Heywood
            Participants:
            Component watchers:
            Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: