Permalink
Browse files

SERVER-6397 fix backport by stopping balancer without helper

  • Loading branch information...
1 parent 3d8d357 commit 7577f95c80f8f22b7a3c61f0683ee120f6fb1e59 @monkey101 monkey101 committed Oct 16, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 jstests/sharding/sync2.js
@@ -2,7 +2,8 @@
s = new ShardingTest( "sync2" , 3 , 50 , 2 , { sync : true } );
-s.stopBalancer()
+//s.stopBalancer()
+s.config.settings.update( { _id: "balancer" }, { $set : { stopped: true } } , true );
s2 = s._mongos[1];

0 comments on commit 7577f95

Please sign in to comment.