Github user twdsilva commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/329#discussion_r211434951
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
---
@@ -2231,6 +2231,7 @@ public void createTable(RpcController controller,
CreateTableRequest request,
PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME_BYTES,
remoteMutations, fullTableName,
MetaDataProtos.MutationCode.UNABLE_TO_UPDATE_PARENT_TABLE);
+ clearParentTableFromCache(clientTimeStamp, table);
--- End diff --
Since we are using the HTable api to update the encoded col qualifiers and
the sequence number of the parent we need to remove it from the cache of the
region server on which it lives so that the next time the parent tableis
resolved the latest metadata gets loaded.
---