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

Extra Extra session lock debugging for redis session handler

    XMLWordPrintable

    Details

      Description

      Follow up from MDL-67075 with hindsight:

      1) Add in the timestamp of when the lock was acquired

      2) Allow a shorter warning threshold so we could do say debug at 10 seconds, but keep waiting for another 110 = 120 total

       This could reuse $CFG->debugsessionlock if set or have it's own config.php level setting

      3) Also when we warn ask redis for the current locks TTL and add that to debug message

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brendanheywood Brendan Heywood
              Reporter:
              brendanheywood Brendan Heywood
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Matteo Scaramuccia, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: