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));
|
HConstants.NO_SEQNUM, Procedure.NO_PROC_ID, -1, regionInfo));
|
||||||
|
|
||||||
// Done! Region is closed on this RS
|
// Done! Region is closed on this RS
|
||||||
this.rsServices.getRegionsInTransitionInRS().
|
LOG.debug("Closed {}", region.getRegionInfo().getRegionNameAsString());
|
||||||
remove(this.regionInfo.getEncodedNameAsBytes(), Boolean.FALSE);
|
|
||||||
LOG.debug("Closed {}" + region.getRegionInfo().getRegionNameAsString());
|
|
||||||
} finally {
|
} finally {
|
||||||
// Clear any reference in getServer().getRegionsInTransitionInRS() on success or failure,
|
// 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
|
// since a reference was added before this CRH was invoked. If we don't clear it, it can
|
||||||
|
|
Loading…
Reference in New Issue