summaryrefslogtreecommitdiff
path: root/jstests/tool
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-18044 Make sharding test explicitly set primary shards for databasesRandolph Tan2016-05-311-1/+2
| | | | | | | | | | | (cherry picked from commit 280fbae9044af29bc63068dbe9c4e7846e9e6517) Conflicts: jstests/aggregation/testshard1.js jstests/gle/1_sharding_gle_basics_passthrough.js jstests/multiVersion/explain.js jstests/sharding/moveprimary_ignore_sharded.js jstests/sharding/tag_range.js
* SERVER-21724 Let backup role read system.profileSpencer Jackson2016-01-071-14/+21
| | | | (cherry picked from commit 21bcf6b127c1bb24e74845327e8d20df26e560bc)
* SERVER-13647 give restore privileges to rootMerry Mou2015-08-312-283/+325
|
* SERVER-18239 dumpauth.js should use correct db/collection namesmike o'brien2015-04-281-12/+12
| | | | | | | | Signed-off-by: Ernie Hershey <ernie.hershey@10gen.com> (cherry picked from commit 3140bfa914859b05ae04f99474b34c73c1fcb019) Conflicts: jstests/tool/dumpauth.js
* make tool_replset.js more resilient against certain failuresmatt dannenberg2015-03-041-55/+56
| | | | (cherry picked from commit 0524c8becac7d0824d618dbec8ed49322e596b2a)
* SERVER-17312 collmod command now handles parsing of all argumentsMathias Stearn2015-02-191-7/+1
| | | | | | | | | | | | | | | | | | For the two currently supported engine-specific options, the collmod command will handle parsing the arguments and tell the CollectionCatalogEntry to update it's flags option. This removes the ability of storage engines to have custom options that can be changed after the collection is created. There were issues related to argument validation and replication of changes (including for initial sync). A correct solution will be designed as SERVER-17320. (cherry picked from commit ae18bbec33db1c4bf57d328505474eb7bba517df) Conflicts: src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.cpp src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.h
* SERVER-16893 Disallow creation of v0 indexes with non-mmapv1 storage enginesalabid2015-01-261-50/+0
| | | | | | | | | | Also moved jstests/tool/dumprestore6.js to jstests/mmapv1/dumprestore6.js since this JS test attempts to restore a v0 index Closes #914 Signed-off-by: Benety Goh <benety@mongodb.com> (cherry picked from commit 5f3fa2e77537d1be650af981effa2e66dc86e10d)
* SERVER-16522 Update remaining jstests to use getCollectionInfos()Jason Rassi2014-12-231-6/+4
|
* TOOLS-488 Tools exit 1 on errorGabriel Russell2014-12-232-3/+3
| | | | | | Closes #890 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-16235 fix dumprestore8.js on wiredtigerKyle Erf2014-12-171-1/+1
| | | | Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
* SERVER-16518 listCollections response changed to cursor object formJason Rassi2014-12-162-79/+16
| | | | | | | As a temporary compatibility measure, the legacy behavior is preserved if the "cursor" option is not sent with the command. This compatibility layer will be removed as part of work for the parent ticket.
* SERVER-16186: newCollectionsUsePowerOf2Sizes should warn users it no longer ↵Mark Benvenuto2014-12-151-3/+11
| | | | works
* TOOLS-492 stat1.js should explicitly specify --authenticationDatabasemike o'brien2014-12-121-2/+2
| | | | | | Closes #880 Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* TOOLS-494: fix restorewithauth.js and TOOLS-497: fix dumprestore_auth.jsSam Helman2014-12-112-27/+79
|
* TOOLS-450 Revert restorewithauth.jsMatt Kangas2014-12-101-78/+28
| | | | This partially reverts commit bf834456c3e5a02fbe6fed340563a3c5fa548e4c
* TOOLS-450 some dumprestore js tests query system.indexes or ↵Sam Helman2014-12-106-73/+164
| | | | | | | | system.namespaces directly Closes #875 Signed-off-by: Benety Goh <benety@mongodb.com>
* TOOLS-327 fix tests relying on --w to use --writeConcernmike o'brien2014-11-215-13/+13
|
* SERVER-15979 remove even more mmap_v1ismsAdam Midvidy2014-11-061-10/+20
| | | | | | Closes #866 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15992 dumprestore_auth{2,3} js rely on W=0Adam Midvidy2014-11-062-8/+12
| | | | | | Closes #865 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15979 remove another mmap_v1ism from tool suiteAdam Midvidy2014-11-061-1/+2
| | | | | | Closes #864 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15980 disable dumprestore_auth.js until it is rewritten to work on WTAdam Midvidy2014-11-051-0/+2
| | | | Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
* SERVER-15979: Remove mmap_v1isms from tool suiteAdam Midvidy2014-11-056-28/+38
| | | | Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
* SERVER-15960 dumpfilename1.js test should not depend on single-threaded ↵Adam Midvidy2014-11-041-14/+3
| | | | | | | | semantics Closes #858 Signed-off-by: Benety Goh <benety@mongodb.com>
* TOOLS-261 dumprestore_auth test must allow listIndexes permissionmike o'brien2014-10-281-1/+1
| | | | | | Closes #841 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15535 add version 2 to generated oplog documentEric Milkie2014-10-171-1/+1
|
* SERVER-15703 use w=1 for dumprestore testmike o'brien2014-10-171-3/+3
| | | | | | Closes #830 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15597 Fix race condition in dumprestore7.jsKyle Erf2014-10-101-1/+1
| | | | | | Closes #825 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15517 use slashes rather than double quotes for escaping in shell ↵Sam Helman2014-10-101-0/+22
| | | | | | | | launcher Closes #823 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15547 move gridfs sharding test to the "tool" testsGreg Studer2014-10-091-0/+65
|
* SERVER-15547 removed tests that rely on tools --dbpath optionBenety Goh2014-10-081-73/+0
|
* SERVER-14668 ignore empty options returned from listCollections in ↵Dan Pasette2014-10-081-3/+5
| | | | dumprestoreWithNoOptions.js
* SERVER-15547 removed tests that rely on tools --dbpath optionBenety Goh2014-10-077-601/+192
|
* SERVER-15517 Remove spaces from query in dumprestore7.js, exportimport4.js ↵Sam Helman2014-10-073-8/+11
| | | | | | | | and exportimport5.js Closes #806 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15487 added 'command' mode to run commands on databaseBenety Goh2014-10-061-22/+98
| | | | | | extended processFile() and gotObject() to accept output stream removed 'applyOps' mode general code clean up - removed options that are either unused or replaced by --mode
* SERVER-15397 use parsed values to check correctness of CSV import/export valuesmike o'brien2014-10-031-3/+16
| | | | | | Closes #808 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15397 use doc equality test instead of string equality to test csv importmike o'brien2014-10-011-2/+2
| | | | | | Closes #803 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15397 don't use strict string comparison for documents imported from csvWisdom Omuya2014-10-011-1/+1
| | | | | | Closes #798 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-5520 do not check exit code on tool invocationBenety Goh2014-09-291-2/+3
|
* SERVER-5520 SERVER-15096 do not check exit code for mongoshim in normal ↵Benety Goh2014-09-291-28/+23
| | | | operation
* SERVER-15096 added modes to mongoshim. also added JS test and a number of ↵Benety Goh2014-09-261-0/+169
| | | | test-related options.
* SERVER-15397 don't use strict string comparison for documents imported from csv.mike o'brien2014-09-261-3/+3
| | | | | | Closes #797 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15397 don't use strict order comparison in tsv1.js testmike o'brien2014-09-251-2/+2
| | | | | | Closes #796 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-14904 Change dates in exportimport_date.js to account for different ↵Jonathan Reams2014-08-141-2/+2
| | | | | | | | timezones in host environment Closes #746 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-14378: backup/restore role needs listCollectionsEliot Horowitz2014-08-011-1/+3
|
* SERVER-13760 added check on source collection size before running mongoexportBenety Goh2014-07-311-0/+3
|
* Use clearRawMongoProgramOutput to avoid test failure from asserts in the ↵Spencer T Brody2014-07-231-0/+1
| | | | server instead of the tools
* SERVER-14212 When restoring users and roles for a single db with --drop, ↵Spencer T Brody2014-07-181-22/+29
| | | | don't drop users/roles from other databases
* SERVER-4345 mongorestore will read from stdin when filename is "-"Benety Goh2014-07-021-0/+8
| | | | | check eof only on fifo files. restored original logic of checking bytes read against file length. mongorestore requires both --db and --collection when using stdin/fifo
* SERVER-14253 mongoexport csv should generate 'ObjectId', not 'ObjectID'Matt Kangas2014-06-251-1/+1
|
* SERVER-14315 Support MinKey and MaxKey extended JSON objects in JSON parserShaun Verch2014-06-251-0/+37
|