shahrs87 commented on code in PR #1691:
URL: https://github.com/apache/phoenix/pull/1691#discussion_r1342004085


##########
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:
   > Will that come in a separate JIRA ?
   
   Yes.



-- 
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: issues-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to