You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2017/05/02 17:44:04 UTC

[jira] [Created] (PHOENIX-3823) Force cache update on MetaDataEntityNotFoundException

James Taylor created PHOENIX-3823:
-------------------------------------

             Summary: Force cache update on MetaDataEntityNotFoundException 
                 Key: PHOENIX-3823
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3823
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor
            Assignee: Maddineni Sukumar


When UPDATE_CACHE_FREQUENCY is used, clients will cache metadata for a period of time which may cause the schema being used to become stale. If another client adds a column or a new table or view, other clients won't see it. As a result, the client will get a MetaDataEntityNotFoundException. Instead of bubbling this up, we should retry after forcing a cache update on the tables involved in the query.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)