shahrs87 commented on code in PR #1882:
URL: https://github.com/apache/phoenix/pull/1882#discussion_r1566375352
##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##########
@@ -3904,6 +3904,13 @@ private MetaDataMutationResult
dropIndexes(RegionCoprocessorEnvironment env, PTa
// that a change in index state doesn't
// occur while we're dropping it.
acquireLock(region, indexKey, locks);
+ // invalidate server metadata cache when dropping index
+ List<InvalidateServerMetadataCacheRequest> requests = new
ArrayList<>();
+ requests.add(new InvalidateServerMetadataCacheRequest(tenantId,
Review Comment:
We are invalidating server cache for table in MDEI#mutateColumn
[here](https://github.com/apache/phoenix/blob/PHOENIX-6883-feature/phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java#L3296-L3299).
@palashc Do you mean to invalidate the indexes?
--
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]