Commit Graph

551 Commits

Author SHA1 Message Date
Andy Schwerin
7e7ea93fac SERVER-21959 Do not truncate stack traces in log messages. 2015-12-21 17:41:16 -05:00
David Storch
56dba2953b SERVER-17011 add EnsureSorted stage
Preserves the sort order for 'ntoreturn hack' plans.
2015-12-21 16:28:22 -05:00
David Storch
95c072ee0a SERVER-21772 correctly profile and log findAndModify operations 2015-12-15 17:05:53 -05:00
David Storch
0ce05c7d8c SERVER-21852 fix more flakiness in kill_cursors.js 2015-12-11 14:37:41 -05:00
David Storch
bb7e1e539d SERVER-21750 clean up getMore logging and profiling
--Omit ntoreturn and ntoskip from the getMore command log line.
--Add nreturned to the getMore command log line.
--Upconvert OP_GET_MORE profiler entries to match getMore cmd.
2015-12-11 13:28:20 -05:00
David Storch
aa77f50235 SERVER-21852 fix test issue that can cause kill_cursors.js to fail under master/slave 2015-12-10 15:07:33 -05:00
David Storch
09126c5f0e SERVER-21786 increase test coverage of the s/query directory
Fills in gaps in coverage discovered with code coverage analysis.
2015-12-10 13:41:00 -05:00
Charlie Swanson
a4d29291cc SERVER-21545 Correctly roll back updating collection options 2015-12-09 13:08:36 -05:00
Jonathan Reams
8aaaa8fe56 SERVER-21796 fix startup_log.js for new versioning scheme 2015-12-08 13:40:32 -05:00
David Storch
9f8ec07dd7 SERVER-21600 add integration test for killCursors command 2015-12-08 12:37:09 -05:00
Eric Milkie
5ddccc2406 SERVER-21726 do not log no-op updates in all cases, not just for inplace-supported storage engines 2015-12-02 13:59:07 -05:00
David Storch
f5e927ea49 SERVER-21735 remove flaky assertions from objid6.js 2015-12-02 13:29:16 -05:00
Jason Rassi
72d5149270 SERVER-21690 TextOrStage should fetch doc when RecordId first observed 2015-12-01 16:54:41 -05:00
Jason Rassi
1318d67d35 SERVER-21387 bench_test_crud_commands.js: move out of core suite
Previously, an insert command could be blocked for longer than the
amount of time that the bench worker is running, if a concurrent
operation takes a long-running MODE_X lock on the database.  This
would cause the test to fail.

Test moved to the noPassthroughWithMongod suite.
2015-11-24 14:24:58 -05:00
Jason Rassi
777497d4b6 SERVER-21387 bench_test_crud_commands.js: ensure collection exists
Fixes an issue where no write operations would be reported as
successful in the following scenario:
- The first write triggers a database creation.
- The time to pre-allocate data files exceeds the amount of time
  that the bench worker is running.
2015-11-24 14:22:02 -05:00
Jonathan Reams
da238a9405 SERVER-21361 Fix JS function body parsing 2015-11-19 17:33:50 -05:00
Robert Guo
02efbaa677 SERVER-21491 Add input validation for 2dsphere index creation 2015-11-19 10:54:19 -05:00
Kaloian Manassiev
68dfaba3e8 SERVER-21489 enableSharding should return error if sharding is already enabled 2015-11-18 18:25:52 -05:00
Mathias Stearn
c7206ba504 SERVER-21488 insert into indexed capped collections one-at-a-time 2015-11-17 17:35:54 -05:00
David Storch
957f4ddf7c SERVER-21403 make SortedDataInterface::Cursor implementations for unique indices never return dup keys 2015-11-17 15:43:20 -05:00
Kamran Khan
15376bdb53 SERVER-20941 Update v8-specific code and comments in JS tests
The switch to SpiderMonkey invalidated some of the code and comments.
2015-11-13 12:32:15 -05:00
Jonathan Reams
80f0a56bfb SERVER-20257 Support readConcern in count command shell helper 2015-11-12 15:54:52 -05:00
Martin Bligh
5dd9558ed6 SERVER-21276: Fix various issues with top 2015-11-11 17:01:03 -05:00
Charlie Swanson
547d3bc470 SERVER-19519 Disallow creating an index with key '_fts' 2015-11-11 14:29:00 -05:00
Charlie Swanson
fd539883bf SERVER-21376 Fill in 'rejectedPlans' field of explain for relevant verbosities 2015-11-11 12:00:17 -05:00
Jonathan Reams
338f764be0 SERVER-6102 Deserialize BSON undefined as JS undefined 2015-11-11 11:12:17 -05:00
Mike Grundy
772237b866 SERVER-21371 find_and_modify_concurrent_update.js join() is called after read 2015-11-10 16:15:05 -05:00
Dan Pasette
a2ab950204 SERVER-21346 Add jstest for bypassDocumentValidation 2015-11-08 10:35:17 -05:00
Jason Rassi
e2cbe3c873 SERVER-19510 ExtensionsCallbackReal ctor take ptr to NamespaceString 2015-11-05 13:56:56 -05:00
David Storch
5b34689a84 SERVER-21218 make mongos forward maxTimeMS on getMore command to mongod 2015-11-05 11:26:56 -05:00
David Hows
c2258e65ee SERVER-21242: Add an initial drop to jstests/core/collection_info_cache_race.js 2015-11-04 11:36:13 +11:00
Geert Bosch
e2443741a5 SERVER-15508: Have the shell accept all unsigned Timestamp values
Also rejects negative Timestamp time and increment arguments and canonicalizes types.
2015-10-30 23:39:50 -04:00
Geert Bosch
9ac7b65d0e SERVER-21160: revert woCompare to using unsigned comparison for Timestamp 2015-10-30 14:44:31 -04:00
Kevin Pulo
0c8b0d57c7 SERVER-12746: Fix assert() calls with constant-value args
These calls were mostly mistakes that should have been assert.eq().

assert() will now trip if passed a non-string msg, or too many params.
2015-10-30 20:35:28 +11:00
Geert Bosch
4aa1aa00f4 Revert "SERVER-21160: revert woCompare to using unsigned comparison for Timestamp"
This reverts commit adcef363bc.
2015-10-29 09:33:26 -04:00
Geert Bosch
adcef363bc SERVER-21160: revert woCompare to using unsigned comparison for Timestamp 2015-10-28 22:28:58 -04:00
James Wahlin
97da4befad SERVER-20969 Restrict $indexStats to first pipeline stage 2015-10-28 15:44:02 -04:00
Andrew Morrow
1a95eb42b1 SERVER-19614 Use stack bounds to limit JS recursion 2015-10-27 08:06:43 -04:00
Jason Rassi
6c5fb5a67d SERVER-21111 bench_test_crud_commands.js log addl. failure diagnostics 2015-10-26 11:58:50 -04:00
Martin Bligh
b9c5d9f97d SERVER-21093: Make ordered bulk insert operation error out properly 2015-10-26 10:21:05 -04:00
Mark Benvenuto
4c38ff1373 SERVER-20888: Defer $language check to FTSQuery::Parse 2015-10-22 20:18:00 -04:00
Jonathan Reams
acad0bb412 SERVER-8246 Add instanceof support for MinKey/MaxKey 2015-10-20 13:28:19 -04:00
Jason Rassi
07168e0874 SERVER-20880 Add "readCmd" option to benchRun find/findOne operations 2015-10-20 10:35:10 -04:00
Mark Benvenuto
20e2bf0b7c SERVER-19906: verify() failure when text index on "_fts" has weights set to empty object 2015-10-15 14:47:14 -04:00
Judah Schvimer
828b652992 SERVER-20367 Remove references to geoWalk command
Signed-off-by: Kamran Khan <kamran.khan@mongodb.com>
2015-10-15 12:27:53 -04:00
Charlie Swanson
6abdb820a8 SERVER-18622 listCollections should special case filtering by name
Note that the listCollections command is no longer guaranteed to return the
collections in alphabetical order by name. The shell helper will still do so.
2015-10-13 17:13:22 -04:00
Charlie Swanson
42b847bade SERVER-20849 Ensure explain output is actually computed during test 2015-10-13 17:13:22 -04:00
Andrew Morrow
804f8c7b92 SERVER-19614 Temporarily disable JS recursion depth protections 2015-10-13 16:44:10 -04:00
Charlie Swanson
42705b4bff SERVER-20849 Use correct stats object when explaining a MutliPlanStage 2015-10-13 11:32:12 -04:00
Geert Bosch
688e3d2650 SERVER-20529: Prevent size changes in capped updates 2015-10-09 09:45:22 -04:00