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:
parent
24ad05486f
commit
da67491a56
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue