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
|
||||
public boolean preBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> ctx,
|
||||
boolean newValue) throws IOException {
|
||||
return false;
|
||||
return newValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue