diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2017-12-08 14:35:24 -0500 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2017-12-12 15:45:18 -0500 |
commit | 847104b8775af27762b35ff99da0d78511c01376 (patch) | |
tree | 014d5951d204a98f19dafcf0ca7f698879091244 /src/mongo/shell | |
parent | 0c0133f83aeb7930e90cb006e89cfce68aad2ad2 (diff) | |
download | mongo-847104b8775af27762b35ff99da0d78511c01376.tar.gz |
SERVER-32276 Remove support for MONGODB-CR in copydb
This includes removing the copydbgetnonce command entirely.
Diffstat (limited to 'src/mongo/shell')
-rw-r--r-- | src/mongo/shell/db.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/db.js b/src/mongo/shell/db.js index f417f40060d..799d1a1e348 100644 --- a/src/mongo/shell/db.js +++ b/src/mongo/shell/db.js @@ -562,7 +562,7 @@ var DB; } // Fall back to MONGODB-CR - var n = this._adminCommand({copydbgetnonce: 1, fromhost: fromhost}); + var n = assert.commandWorked(this._adminCommand({copydbgetnonce: 1, fromhost: fromhost})); return this._adminCommand({ copydb: 1, fromhost: fromhost, |