summaryrefslogtreecommitdiff
path: root/jstests/sharding/migrateBig.js
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2014-01-06 23:53:21 -0500
committerDan Pasette <dan@mongodb.com>2014-01-21 10:09:57 -0500
commit5402118336e74b96ea50002e43dd393d219866ec (patch)
tree092083a99bcefeec7fb7cb1534f4a1d91fbe8b61 /jstests/sharding/migrateBig.js
parentdf45324b26d66f8a5155a0a9799b0ba000544ebb (diff)
downloadmongo-5402118336e74b96ea50002e43dd393d219866ec.tar.gz
SERVER-12088 Enable usePowerOf2Sizes as server-wide default
Diffstat (limited to 'jstests/sharding/migrateBig.js')
-rw-r--r--jstests/sharding/migrateBig.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/sharding/migrateBig.js b/jstests/sharding/migrateBig.js
index 853a671915a..2c4d156d760 100644
--- a/jstests/sharding/migrateBig.js
+++ b/jstests/sharding/migrateBig.js
@@ -15,7 +15,9 @@ for ( x=0; x<100; x++ )
coll.insert( { x : x , big : big } )
db.getLastError();
-s.adminCommand( { split : "test.foo" , middle : { x : 33 } } )
+db.printShardingStatus()
+
+s.adminCommand( { split : "test.foo" , middle : { x : 30 } } )
s.adminCommand( { split : "test.foo" , middle : { x : 66 } } )
s.adminCommand( { movechunk : "test.foo" , find : { x : 90 } , to : s.getOther( s.getServer( "test" ) ).name } )