Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3333

cache: improve logging on blocking timeouts and unlock in the cache filter on exceptions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.2, 4.5
    • Component/s: cache
    • Labels:
      None
    • Magnolia Release:
      4.4.2, 4.5

      Description

      After a longer discussion we have done the following:

      • log when a requests takes longer to produce the content than the lock timeout for the waiting threads are
      • log when a request was blocked longer than the timeout period (because the producer has not finished yet)
      • introduced a blocking cache interface to expose the timeout configuration an to wrap the unlock method
      • it is now the cache filter which will unblock on exceptions (before it was the store executor)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pbaerfuss Philipp Bärfuss
              Reporter:
              gjoseph Magnolia International
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: