jstests/replsets/shard_merge_enabled.js
// A function, not a constant, to ensure unique UUIDs.
A function, not a constant, to ensure unique UUIDs.
A function not a constant to ensure unique UUIDs .
function donorStartMigrationCmd() {
        return {
            donorStartMigration: 1,
            protocol: "shard merge",
            migrationId: UUID(),
            recipientConnectionString: kDummyConnStr,
            readPreference: readPreference,
            donorCertificateForRecipient: migrationCertificates.donorCertificateForRecipient,
            recipientCertificateForDonor: migrationCertificates.recipientCertificateForDonor
        };
    }
function donorStartMigrationCmd ( ) { return { donorStartMigration : 1 , protocol : "shard merge" , migrationId : UUID ( ) , recipientConnectionString : kDummyConnStr , readPreference : readPreference , donorCertificateForRecipient : migrationCertificates . donorCertificateForRecipient , recipientCertificateForDonor : migrationCertificates . recipientCertificateForDonor } ; }
A function, not a constant, to ensure unique UUIDs.
A function not a constant to ensure unique UUIDs .