This commit is contained in:
parent
14c2c00296
commit
5136c70554
|
@ -1263,8 +1263,8 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
|
||||||
region.getEncodedName())) {
|
region.getEncodedName())) {
|
||||||
// check if current region open is for distributedLogReplay. This check is to support
|
// check if current region open is for distributedLogReplay. This check is to support
|
||||||
// rolling restart/upgrade where we want to Master/RS see same configuration
|
// rolling restart/upgrade where we want to Master/RS see same configuration
|
||||||
if (regionOpenInfo.hasOpenForDistributedLogReplay()
|
if (!regionOpenInfo.hasOpenForDistributedLogReplay()
|
||||||
&& regionOpenInfo.getOpenForDistributedLogReplay()) {
|
|| regionOpenInfo.getOpenForDistributedLogReplay()) {
|
||||||
regionServer.recoveringRegions.put(region.getEncodedName(), null);
|
regionServer.recoveringRegions.put(region.getEncodedName(), null);
|
||||||
} else {
|
} else {
|
||||||
// remove stale recovery region from ZK when we open region not for recovering which
|
// remove stale recovery region from ZK when we open region not for recovering which
|
||||||
|
|
Loading…
Reference in New Issue