HBASE-24105 [Flakey Test] regionserver.TestRegionReplicas (#1425)

Co-authored-by: Huaxiang Sun <huaxiangsun@apache.com>
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
huaxiangsun 2020-04-05 13:20:23 -07:00 committed by GitHub
parent 24ad05486f
commit da67491a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -117,9 +117,7 @@ public class CloseRegionHandler extends EventHandler {
HConstants.NO_SEQNUM, Procedure.NO_PROC_ID, -1, regionInfo));
// Done! Region is closed on this RS
this.rsServices.getRegionsInTransitionInRS().
remove(this.regionInfo.getEncodedNameAsBytes(), Boolean.FALSE);
LOG.debug("Closed {}" + region.getRegionInfo().getRegionNameAsString());
LOG.debug("Closed {}", region.getRegionInfo().getRegionNameAsString());
} finally {
// Clear any reference in getServer().getRegionsInTransitionInRS() on success or failure,
// since a reference was added before this CRH was invoked. If we don't clear it, it can