[
https://issues.apache.org/jira/browse/PHOENIX-4522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16319719#comment-16319719
]
James Taylor commented on PHOENIX-4522:
---------------------------------------
Nice find, [~chia7712]. I'll make sure this gets committed.
> Fail to remove the schema from client-side cache
> ------------------------------------------------
>
> Key: PHOENIX-4522
> URL: https://issues.apache.org/jira/browse/PHOENIX-4522
> Project: Phoenix
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Priority: Critical
> Fix For: 5.0.0, 4.14.0, 4.13.2, 4.13.2-cdh5.11.2
>
> Attachments: PHOENIX-4522.v0.patch
>
>
> We always pass the wrong key to remove the schema
> {code:PMetaDataImpl.java}
> @Override
> public void removeSchema(PSchema schema, long schemaTimeStamp) {
>
> this.metaData.schemas.remove(SchemaUtil.getSchemaKey(schema.getSchemaName()));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)