HBASE-11755 VisibilityController returns the wrong value for preBalanceSwitch (Matteo Bertozzi)
This commit is contained in:
parent
783d87b3c0
commit
dbf16df44c
|
@ -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