Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14811

Page cache: possible race condition/synchronization issue

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • None
    • 0.25
    • Flagged
    • Client Service Team
    • Puma Sprint 273, Puma sprint 275, Puma sprint 276

    Description

      Reported a corrupted state of Pagecache with below error. Remedy was to restart the server. Looking at the error itself, it seems like one of the cache entries was null during the swap of the entries. 

       

      [org.hippoecm.hst.container.HstDelegateeFilterBean.doFilter():644] ContainerException for 'Request{ method='GET', scheme='https', host='domain.com', requestURI='/site/anotherurl/_123/', queryString='null'}': org.hippoecm.hst.core.container.ContainerException: java.lang.IllegalStateException: Entry.next=null, data[removeIndex]=PageCacheKey[\{org.hippoecm.hst.core.container.PageCachingValve.reqInfo=1632303038536?GET?https?domain.com?/site/shop/p/BaseProduct_1016377/undefined&flyoutBasePath=/some/url??master?/shop/p/BaseProduct_1016377/undefined&flyoutBasePath=/some/url?false?}, sealed = true]=true previous=PageCacheKey[\{org.hippoecm.hst.core.container.PageCachingValve.reqInfo=1632303038536?GET?https?domain.com?/site/shop/p/BaseProduct_1016377/undefined&flyoutBasePath=/some/url??master?/shop/p/BaseProduct_1016377/undefined&flyoutBasePath=/some/url?false?}, sealed = true]=true key=PageCacheKey[\{org.hippoecm.hst.core.container.PageCachingValve.reqInfo=1632303038536?GET?https?domain.com?/site/anotherurl/_123/??master?/anotherurl/_123/?false?}, sealed = true] value=true size=1000 maxSize=1000 This should not occur if your keys are immutable, and you have used synchronization properly.
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: