You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Xavier FH Leong (JIRA)" <ji...@apache.org> on 2015/05/29 03:58:17 UTC

[jira] [Created] (CALCITE-745) Connection and statement cache container to remain in sync for Avatica

Xavier FH Leong created CALCITE-745:
---------------------------------------

             Summary: Connection and statement cache container to remain in sync for Avatica
                 Key: CALCITE-745
                 URL: https://issues.apache.org/jira/browse/CALCITE-745
             Project: Calcite
          Issue Type: Improvement
            Reporter: Xavier FH Leong
            Assignee: Julian Hyde


Currently, the statement and connection cache are remain separate, I see a problem during invalidation of cache if they are kept apart, connection may close first before statement and making statement retrieved from statement cache being staled. One way is to extend the connection cache to include data structure that also store statement map, and there only remain a single cache policy. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)