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

MUC session cache items can be set after write_close and silently fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Caching
    • Affected Branches:
      MOODLE_400_STABLE

      Description

      Found while testing MDL-68608

      I don't think we want to change the semantics of the cache API so that session caches are tightly bound to sessions - we want to actively decouple these even more to enable readonly sessions.

      So I think the correct solution here is to add support for event based invalidation in a readonly session, which requires touch points in the session store to be aware of write_close and also in the cache api to correctly handle when a purge did not succeed and to try again later.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              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:
              2 Start watching this issue

                Dates

                Created:
                Updated: