palashc commented on code in PR #2357:
URL: https://github.com/apache/phoenix/pull/2357#discussion_r2770610800


##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##########
@@ -3840,6 +3874,15 @@ Collections.<byte[]> emptySet(), HConstants.NO_NONCE, 
HConstants.NO_NONCE,
         for (ImmutableBytesPtr invalidateKey : invalidateList) {
           metaDataCache.invalidate(invalidateKey);
         }
+        // Also invalidate indexes

Review Comment:
   @tkhurana When we alter the table, indexes were not invalidated in the 
server cache. In the test, when we get the ptable to verify the ttl, I noticed 
that index ptable is not updated without this change. Let me know if I might be 
missing something. 



-- 
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]

Reply via email to