[ 
https://issues.apache.org/jira/browse/PHOENIX-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742184#comment-17742184
 ] 

ASF GitHub Bot commented on PHOENIX-6943:
-----------------------------------------

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





> Add MetadaCache on each region server.
> --------------------------------------
>
>                 Key: PHOENIX-6943
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6943
>             Project: Phoenix
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Rushabh Shah
>            Assignee: Rushabh Shah
>            Priority: Major
>             Fix For: 5.2.0
>
>
> Design doc 
> [here|https://docs.google.com/document/d/1ZIu7TyzI7aDhgMOWa7mbUmwbFNbiPVwpWjb6QisT4ng/edit#heading=h.fa8lnra4hvey].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to