tkhurana commented on code in PR #1691:
URL: https://github.com/apache/phoenix/pull/1691#discussion_r1341867509
##########
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##########
@@ -3165,10 +3184,12 @@ private MetaDataMutationResult mutateColumn(
if (mutationResult.isPresent()) {
return mutationResult.get();
}
-
+ // We take a write row lock for tenantId, schemaName,
tableOrViewName
acquireLock(region, key, locks);
+ // Invalidate the cache from all the regionservers.
+ invalidateServerMetadataCache(tenantId, schemaName,
tableOrViewName);
Review Comment:
We need to call invalidate cache in other scenarios also like create index.
Will that come in a separate JIRA ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]