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

Redis session caches not cleared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.9.25, 3.11.18, 4.2.8, 4.0.12, 4.1.9, 4.3.5, 4.4
    • Caching
    • Moodle 3.9.25
      PHP 7.4

      Stale session data is not deleted from the cache stores by the cache cron \core\task\cache_cron_task

       

      Expected: session data where the last access date is greater than $CFG->sessiontimeout, to be purged by the cron task.

       

      What actually happens: the cached data is not purged.

       

      Repo:

      https://github.com/JuliaMJenkins/moodle

       

      This bug exists in all stable versions since 3.9.25. Links to 4.0x branches have been included in the Pull Branch fields of this issue.

       

      Moodle 3.9 branch: MDL-81986-39_clear_session_cache

      Moodle 3.9 branch diff URL: https://github.com/JuliaMJenkins/moodle/compare/MOODLE_39_STABLE...MDL-81986-39_clear_session_cache

       

            Unassigned Unassigned
            juliajenkins Julia Jenkins
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.