You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "tkhurana (via GitHub)" <gi...@apache.org> on 2023/07/11 21:21:51 UTC

[GitHub] [phoenix] tkhurana commented on a diff in pull request #1637: PHOENIX-6943 Add MetadataCache on each region server.

tkhurana commented on code in PR #1637:
URL: https://github.com/apache/phoenix/pull/1637#discussion_r1260295773


##########
phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java:
##########
@@ -493,6 +494,8 @@ public static synchronized void tearDownMiniCluster(final int numTables) {
         } finally {
             try {
                 utility.shutdownMiniCluster();
+                // Clear ServerMetadataCache.
+                ServerMetadataCache.resetCache();

Review Comment:
   move this call before the shutdown call in case shutdown throws an exception



-- 
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-unsubscribe@phoenix.apache.org

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