Commit Graph

3 Commits

Author SHA1 Message Date
David Storch
1574457c5f SERVER-19566 convert OP_QUERY profiler entries to look like the find command
Includes the following changes to profiler entries for queries:

-- The query field will contain find command parameters, e.g.
{find: <coll>, filter: {...}}.
-- Renames 'nscanned' to 'keysExamined' and 'nscannedObjects' to 'docsExamined'.
-- Renames 'scanAndOrder' to 'hasSortStage'.
-- Removes the top-level ntoreturn and ntoskip fields. Skip, limit, and
batchSize info will be present in the 'query' field instead.
2015-09-03 16:06:13 -04:00
David Storch
645e9ad9db SERVER-17544 update tests depending on OP_QUERY/OP_GET_MORE specific behavior
--Use of 'orderby' is not allowed for find command.
--Passing a negative value for .batchSize() is no longer legal.
--Find command accepts 64-bit skip and limit values.
--Slow log line format has changed for find command.
2015-07-28 16:21:12 -04:00
Randolph Tan
5595b94560 SERVER-12127 migrate js tests to jscore suite when not related to writes
Moved test jstest/[a-i].js -> jstests/core/ and made changes to comply with write command api
2014-02-28 16:26:33 -05:00