jstests/serverless/libs/basic_serverless_test.js
/**
     * Starts a shard split asynchronously and returns the Thread that runs it.
     * @returns the Thread running the commitShardSplit command.
     */
Starts a shard split asynchronously and returns the Thread that runs it.
@returns the Thread running the commitShardSplit command.
Starts a shard split asynchronously and returns the Thread that runs it . @returns the Thread running the commitShardSplit command .
commitAsync({enableDonorStartMigrationFsync} = {enableDonorStartMigrationFsync: false}) {
        jsTestLog("Running commitAsync command");
        const donorRst = createRstArgs(this.donorSet);
        const migrationIdString = extractUUIDFromObject(this.migrationId);
        const thread = new Thread(runCommitShardSplitAsync,
                                  donorRst,
                                  migrationIdString,
                                  this.tenantIds,
                                  this.recipientTagName,
                                  this.recipientSetName,
                                  enableDonorStartMigrationFsync);
        thread.start();
        return thread;
    }
commitAsync ( { enableDonorStartMigrationFsync } = { enableDonorStartMigrationFsync : false } ) { jsTestLog ( "Running commitAsync command" ) ; const donorRst = createRstArgs ( this . donorSet ) ; const migrationIdString = extractUUIDFromObject ( this . migrationId ) ; const thread = new Thread ( runCommitShardSplitAsync , donorRst , migrationIdString , this . tenantIds , this . recipientTagName , this . recipientSetName , enableDonorStartMigrationFsync ) ; thread . start ( ) ; return thread ; }
Starts a shard split asynchronously and returns the Thread that runs it.
Starts a shard split asynchronously and returns the Thread that runs it .