You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2008/03/05 13:21:16 UTC

[jira] Created: (CAY-998) ROP paginated lists must recover from server LRU query cache overflow

ROP paginated lists must recover from server LRU query cache overflow
---------------------------------------------------------------------

                 Key: CAY-998
                 URL: https://issues.apache.org/cayenne/browse/CAY-998
             Project: Cayenne
          Issue Type: Bug
          Components: Cayenne Core Library
    Affects Versions: 3.0
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.0


The following exception occurs on an attempt to read a page off the server-side cached paginated list via ROP if the list is not found in the cache. While I do not have a proof that DataContext MapQueryCache LRU overflow (which has a default size of 2000 entries) is one and the only cause of this error, it is certainly a bug... My strategy for fixing this would be storing the original query on the server so that the list could be refetched if it is no longer in the cache (for any reason) 


[java] org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Jan 23 2008 23:16:39] No cached list for blabla
[java] at org.apache.cayenne.access.ClientServerChannelQueryAction.interceptSinglePageQuery(ClientServerChannelQueryAction.java:85)
[java] at org.apache.cayenne.access.ClientServerChannelQueryAction.execute(ClientServerChannelQueryAction.java:65)
[java] at org.apache.cayenne.access.ClientServerChannel.onQuery(ClientServerChannel.java:82)
[java] at org.apache.cayenne.remote.service.DispatchHelper.dispatch(DispatchHelper.java:40)
[java] at org.apache.cayenne.remote.service.BaseRemoteService.processMessage(BaseRemoteService.java:153)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAY-998) ROP paginated lists must recover from server LRU query cache overflow

Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik updated CAY-998:
--------------------------------

    Description: 
The following exception occurs on an attempt to read a page off the server-side cached paginated list via ROP if the list is not found in the cache. While I do not have a proof that DataContext MapQueryCache LRU overflow (which has a default size of 2000 entries) is one and the only cause of this error, it is certainly a bug... My strategy for fixing this would be along the lines of passing the original query on every page request, so that the list could be refetched if it is no longer in the cache (for any reason) 


[java] org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Jan 23 2008 23:16:39] No cached list for blabla
[java] at org.apache.cayenne.access.ClientServerChannelQueryAction.interceptSinglePageQuery(ClientServerChannelQueryAction.java:85)
[java] at org.apache.cayenne.access.ClientServerChannelQueryAction.execute(ClientServerChannelQueryAction.java:65)
[java] at org.apache.cayenne.access.ClientServerChannel.onQuery(ClientServerChannel.java:82)
[java] at org.apache.cayenne.remote.service.DispatchHelper.dispatch(DispatchHelper.java:40)
[java] at org.apache.cayenne.remote.service.BaseRemoteService.processMessage(BaseRemoteService.java:153)

  was:
The following exception occurs on an attempt to read a page off the server-side cached paginated list via ROP if the list is not found in the cache. While I do not have a proof that DataContext MapQueryCache LRU overflow (which has a default size of 2000 entries) is one and the only cause of this error, it is certainly a bug... My strategy for fixing this would be storing the original query on the server so that the list could be refetched if it is no longer in the cache (for any reason) 


[java] org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Jan 23 2008 23:16:39] No cached list for blabla
[java] at org.apache.cayenne.access.ClientServerChannelQueryAction.interceptSinglePageQuery(ClientServerChannelQueryAction.java:85)
[java] at org.apache.cayenne.access.ClientServerChannelQueryAction.execute(ClientServerChannelQueryAction.java:65)
[java] at org.apache.cayenne.access.ClientServerChannel.onQuery(ClientServerChannel.java:82)
[java] at org.apache.cayenne.remote.service.DispatchHelper.dispatch(DispatchHelper.java:40)
[java] at org.apache.cayenne.remote.service.BaseRemoteService.processMessage(BaseRemoteService.java:153)


> ROP paginated lists must recover from server LRU query cache overflow
> ---------------------------------------------------------------------
>
>                 Key: CAY-998
>                 URL: https://issues.apache.org/cayenne/browse/CAY-998
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.0
>
>
> The following exception occurs on an attempt to read a page off the server-side cached paginated list via ROP if the list is not found in the cache. While I do not have a proof that DataContext MapQueryCache LRU overflow (which has a default size of 2000 entries) is one and the only cause of this error, it is certainly a bug... My strategy for fixing this would be along the lines of passing the original query on every page request, so that the list could be refetched if it is no longer in the cache (for any reason) 
> [java] org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Jan 23 2008 23:16:39] No cached list for blabla
> [java] at org.apache.cayenne.access.ClientServerChannelQueryAction.interceptSinglePageQuery(ClientServerChannelQueryAction.java:85)
> [java] at org.apache.cayenne.access.ClientServerChannelQueryAction.execute(ClientServerChannelQueryAction.java:65)
> [java] at org.apache.cayenne.access.ClientServerChannel.onQuery(ClientServerChannel.java:82)
> [java] at org.apache.cayenne.remote.service.DispatchHelper.dispatch(DispatchHelper.java:40)
> [java] at org.apache.cayenne.remote.service.BaseRemoteService.processMessage(BaseRemoteService.java:153)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CAY-998) ROP paginated lists must recover from server LRU query cache overflow

Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-998.
-------------------------------

    Resolution: Fixed

> ROP paginated lists must recover from server LRU query cache overflow
> ---------------------------------------------------------------------
>
>                 Key: CAY-998
>                 URL: https://issues.apache.org/cayenne/browse/CAY-998
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.0
>
>
> The following exception occurs on an attempt to read a page off the server-side cached paginated list via ROP if the list is not found in the cache. While I do not have a proof that DataContext MapQueryCache LRU overflow (which has a default size of 2000 entries) is one and the only cause of this error, it is certainly a bug... My strategy for fixing this would be along the lines of passing the original query on every page request, so that the list could be refetched if it is no longer in the cache (for any reason) 
> [java] org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Jan 23 2008 23:16:39] No cached list for blabla
> [java] at org.apache.cayenne.access.ClientServerChannelQueryAction.interceptSinglePageQuery(ClientServerChannelQueryAction.java:85)
> [java] at org.apache.cayenne.access.ClientServerChannelQueryAction.execute(ClientServerChannelQueryAction.java:65)
> [java] at org.apache.cayenne.access.ClientServerChannel.onQuery(ClientServerChannel.java:82)
> [java] at org.apache.cayenne.remote.service.DispatchHelper.dispatch(DispatchHelper.java:40)
> [java] at org.apache.cayenne.remote.service.BaseRemoteService.processMessage(BaseRemoteService.java:153)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.