HBASE-11755 VisibilityController returns the wrong value for preBalanceSwitch (Matteo Bertozzi)

This commit is contained in:
Andrew Purtell 2014-08-15 10:29:26 -07:00
parent 783d87b3c0
commit dbf16df44c
1 changed files with 1 additions and 1 deletions

View File

@ -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