BukrosSzabolcs commented on a change in pull request #2057: URL: https://github.com/apache/hbase/pull/2057#discussion_r454231152
########## File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java ########## @@ -715,7 +716,10 @@ public static void closeRegionSilentlyAndWait(AsyncClusterConnection connection, return; } } catch (IOException ioe) { - if (ioe instanceof NotServingRegionException) { + if (ioe instanceof NotServingRegionException || + (ioe instanceof RemoteWithExtrasException && + ((RemoteWithExtrasException)ioe).unwrapRemoteException() + instanceof NotServingRegionException)) { Review comment: Yes, it is. The excess meta replicas are not assigned so when we try to close them a NotServingRegionException is thrown. Unfortunately it gets wrapped in a RemoteWithExtrasException which was not handled so the logic kept trying to close the region not realizing it was not necessary. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org