Repository: hbase Updated Branches: refs/heads/branch-1 3325bbe84 -> 0ca9a85c4
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/0ca9a85c Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0ca9a85c Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0ca9a85c Branch: refs/heads/branch-1 Commit: 0ca9a85c4de8ae33fb0f17de23d5fe9c00613aaf Parents: 3325bbe Author: Andrew Purtell <[email protected]> Authored: Fri Aug 15 10:31:47 2014 -0700 Committer: Andrew Purtell <[email protected]> Committed: Fri Aug 15 10:31:47 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/0ca9a85c/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 9439ea5..9b8667b 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
