jstests/sharding/autosplit_low_cardinality.js
// about the collection's chunks
about the collection's chunks
about the collection ' s chunks
function insertBigDocsWithKey(key, numDocs) {
    var bulk = coll.initializeUnorderedBulkOp();
    for (var i = 0; i < numDocs; i++) {
        bulk.insert({sk: key, sub: i, bs: bigString});
    }
    assert.commandWorked(bulk.execute());
    waitForOngoingChunkSplits(st);
}
function insertBigDocsWithKey ( key , numDocs ) { var bulk = coll . initializeUnorderedBulkOp ( ) ; for ( var i = 0 ; i < numDocs ; i ++ ) { bulk . insert ( { sk : key , sub : i , bs : bigString } ) ; } assert . commandWorked ( bulk . execute ( ) ) ; waitForOngoingChunkSplits ( st ) ; }
about the collection's chunks
about the collection ' s chunks