jstests/serverless/libs/basic_serverless_test.js
/**
     * Starts a shard split synchronously.
     */
Starts a shard split synchronously.
Starts a shard split synchronously .
commit({retryOnRetryableErrors} = {retryOnRetryableErrors: true},
           {enableDonorStartMigrationFsync} = {enableDonorStartMigrationFsync: false}) {
        jsTestLog("Running commit command");
        const localCmdObj = {
            commitShardSplit: 1,
            migrationId: this.migrationId,
            tenantIds: this.tenantIds,
            recipientTagName: this.recipientTagName,
            recipientSetName: this.recipientSetName
        };
        return runShardSplitCommand(
            this.donorSet, localCmdObj, retryOnRetryableErrors, enableDonorStartMigrationFsync);
    }
commit ( { retryOnRetryableErrors } = { retryOnRetryableErrors : true } , { enableDonorStartMigrationFsync } = { enableDonorStartMigrationFsync : false } ) { jsTestLog ( "Running commit command" ) ; const localCmdObj = { commitShardSplit : 1 , migrationId : this . migrationId , tenantIds : this . tenantIds , recipientTagName : this . recipientTagName , recipientSetName : this . recipientSetName } ; return runShardSplitCommand ( this . donorSet , localCmdObj , retryOnRetryableErrors , enableDonorStartMigrationFsync ) ; }
Starts a shard split synchronously.
Starts a shard split synchronously .