Uploaded image for project: 'Lucee Development'
  1. LDEV-1415

Query CachedWithin retrieval extends Cache Lifetime

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.2.3.0
    • Fix Version/s: 5.2.3.1
    • Labels:
    • Sprint:
      July 2017 Sprint

      Description

      When Query is used with cachedWithin, each time that the Query is retrieved from cache it creates a new QueryCacheItem with the current timestamp, causing the cached item to artificially extend its lifetime.

      When a QueryCacheItem is duplicated, the original creationTime must be preserved, or else we keep getting stale cache items that would never expire.

        Attachments

          Activity

            People

            • Assignee:
              21solutions Igal Sapir
              Reporter:
              21solutions Igal Sapir
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: