Repository: hbase Updated Branches: refs/heads/0.98 42261d689 -> 76f569992 refs/heads/master 783d87b3c -> dbf16df44
HBASE-11755 VisibilityController returns the wrong value for preBalanceSwitch (Matteo Bertozzi) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/dbf16df4 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/dbf16df4 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/dbf16df4 Branch: refs/heads/master Commit: dbf16df44caf122580f07b2f78222d8c4c6153d4 Parents: 783d87b Author: Andrew Purtell <[email protected]> Authored: Fri Aug 15 10:29:26 2014 -0700 Committer: Andrew Purtell <[email protected]> Committed: Fri Aug 15 10:29:26 2014 -0700 ---------------------------------------------------------------------- .../hadoop/hbase/security/visibility/VisibilityController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/dbf16df4/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java index 59f0438..8d400e3 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java @@ -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
