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)

Reply via email to