HBASE-11755 VisibilityController returns the wrong value for preBalanceSwitch (Matteo Bertozzi)
This commit is contained in:
parent
3325bbe84f
commit
0ca9a85c4d
|
@ -498,7 +498,7 @@ public class VisibilityController extends BaseRegionObserver implements MasterOb
|
||||||
@Override
|
@Override
|
||||||
public boolean preBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> ctx,
|
public boolean preBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> ctx,
|
||||||
boolean newValue) throws IOException {
|
boolean newValue) throws IOException {
|
||||||
return false;
|
return newValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue