diff options
Diffstat (limited to 'jstests/sharding/cleanup_orphaned_cmd.js')
-rw-r--r-- | jstests/sharding/cleanup_orphaned_cmd.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/sharding/cleanup_orphaned_cmd.js b/jstests/sharding/cleanup_orphaned_cmd.js index 31978e9386c..84ca52e0f18 100644 --- a/jstests/sharding/cleanup_orphaned_cmd.js +++ b/jstests/sharding/cleanup_orphaned_cmd.js @@ -82,9 +82,7 @@ assert.eq( 100, coll.find().itcount() ); jsTest.log( "Cleaning up more orphaned data..." ); var shard0Admin = st.shard0.getDB( "admin" ); -var result = shard0Admin.runCommand({ cleanupOrphaned : coll + "", - secondaryThrottle: true, - writeConcern: { w: 1 }}); +var result = shard0Admin.runCommand({ cleanupOrphaned : coll + "" }); while ( result.ok && result.stoppedAtKey ) { printjson( result ); result = shard0Admin.runCommand({ cleanupOrphaned : coll + "", |