Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SERVER-6397 fix backport by stopping balancer without helper

  • Loading branch information...
commit 7577f95c80f8f22b7a3c61f0683ee120f6fb1e59 1 parent 3d8d357
@monkey101 monkey101 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  jstests/sharding/sync2.js
View
3  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];
Please sign in to comment.
Something went wrong with that request. Please try again.