Repository: accumulo Updated Branches: refs/heads/1.6 7707793cb -> 775cdb1b9
ACCUMULO-3580 ACCUMULO-3618 disable metadata table scanning optimizations Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/517757fe Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/517757fe Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/517757fe Branch: refs/heads/1.6 Commit: 517757fed365a19c2d5633779e70f9617fd481a3 Parents: c92c3c4 Author: Eric C. Newton <[email protected]> Authored: Tue Feb 24 14:24:56 2015 -0500 Committer: Eric C. Newton <[email protected]> Committed: Tue Feb 24 14:24:56 2015 -0500 ---------------------------------------------------------------------- .../main/java/org/apache/accumulo/server/master/Master.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/517757fe/server/src/main/java/org/apache/accumulo/server/master/Master.java ---------------------------------------------------------------------- diff --git a/server/src/main/java/org/apache/accumulo/server/master/Master.java b/server/src/main/java/org/apache/accumulo/server/master/Master.java index abf7468..8e072e9 100644 --- a/server/src/main/java/org/apache/accumulo/server/master/Master.java +++ b/server/src/main/java/org/apache/accumulo/server/master/Master.java @@ -2308,8 +2308,12 @@ public class Master implements LiveTServerSet.Listener, TableObserver, CurrentSt }); TCredentials systemAuths = SecurityConstants.getSystemCredentials(); - final TabletStateStore stores[] = {new ZooTabletStateStore(new ZooStore(zroot)), new RootTabletStateStore(instance, systemAuths, this), - new MetaDataStateStore(instance, systemAuths, this)}; + final TabletStateStore stores[] = { + new ZooTabletStateStore(new ZooStore(zroot)), + new RootTabletStateStore(instance, systemAuths, this), + // ACCUMULO-3580 ACCUMULO-3618 disable metadata table scanning optimizations + new MetaDataStateStore(instance, systemAuths, null) + }; watchers.add(new TabletGroupWatcher(stores[2], null)); watchers.add(new TabletGroupWatcher(stores[1], watchers.get(0))); watchers.add(new TabletGroupWatcher(stores[0], watchers.get(1)));
