0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

390 Commits

Author SHA1 Message Date
Nick Zolnierz
82228a83a9 SERVER-28350 cluster_pipeline_command.cpp::explain constructs command object with unwrapped readPref but doesn't use 2017-04-19 13:53:12 -04:00
Jack Mulrow
3483a1c42f SERVER-28451 API integration test for logicalTime 2017-04-19 13:26:47 -04:00
Tess Avitabile
114c13e031 SERVER-28577 Extend mongos update implementation to accept an arrayFilters parameter 2017-04-17 17:54:51 -04:00
Jack Mulrow
56b8f03ca7 SERVER-28452 API integration test for operationTime 2017-04-12 10:14:18 -04:00
Kaloian Manassiev
c48f2983e1 SERVER-28447 Forward-port migration_critical_section_concurrency.js
This test ensures that while query and write on one collection are stuck
in the migration critical section, other collections are not impacted.
2017-04-07 10:50:13 -04:00
Esha Maharishi
2cee2f8b7a SERVER-28641 remove requirement that non-internal writes against config servers must use writeConcern 'majority' 2017-04-06 13:29:56 -04:00
James Wahlin
c3341d179d SERVER-28040 Fix maxTimeMS/readPref/readConcern for sharded view query 2017-04-05 13:51:03 -04:00
Jack Mulrow
39d74ea0f6 SERVER-27788 Add tests for operationTime 2017-04-05 09:25:39 -04:00
Tess Avitabile
02e688ef2e SERVER-28478 Create ArrayFilter class and implement parsing of arrayFilters in ParsedUpdate 2017-04-04 11:52:00 -04:00
Tess Avitabile
09a540b1b6 SERVER-28446 Blacklist top.js from dynamic initial sync suites 2017-03-27 13:24:14 -04:00
Eddie Louie
755a2bcd0f SERVER-26315 Modify comments for blacklisted mr_undef.js file to refer to
correct SERVER ticket
2017-03-24 17:27:03 -04:00
Eddie Louie
9fc1ecd711 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
This reverts commit fb956b3b0a.
2017-03-23 14:07:50 -04:00
Randolph Tan
fb956b3b0a Revert "SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped"
This reverts commit 56e66454d1.

Conflicts:
	buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
2017-03-23 13:56:21 -04:00
Jack Mulrow
5a6383e5d1 SERVER-27786 Implement _computeOperationTime 2017-03-23 10:40:52 -04:00
Misha Tyulenev
4d364a4c95 SERVER-28107 augment command result with operationTime in mongos 2017-03-22 12:03:06 -04:00
Kaloian Manassiev
3e53f0ce9c SERVER-27681 Use CatalogCache to load metadata on shards
This change gets rid of the MetadataLoader in place of using the
CatalogCache for loading chunk metadata on shards. This ensures that the
same concurrency control and rate limiting applies on mongos and mongod
and obviates the need for having different kinds of ChunkDiffer.
2017-03-19 22:42:29 -04:00
Eddie Louie
56e66454d1 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
in sharded cluster environments.
2017-03-15 19:19:49 -04:00
Charlie Swanson
584ca76de9 SERVER-22541 Manage aggregation cursors on global cursor manager.
Moves registration of aggregation cursors to the global cursor manager.
This simplifies the logic for acquiring locks and resolving view
namespaces within the getMore and killCursors commands.
2017-03-15 11:03:44 -04:00
Randolph Tan
e1ce1ad010 SERVER-27750 Handle and include LogicalTime in mongos request/response 2017-03-14 16:51:35 -04:00
David Storch
2f367a1e6a SERVER-27614 add $$REMOVE agg system variable 2017-03-13 17:50:16 -04:00
David Storch
82b16740f8 SERVER-19758 add support for "executionStats" and "allPlansExecution" to agg explain
Like other explainable commands, aggregate can now be
explained using the explain command, e.g.
db.runCommand({explain: {aggregate: ...}, verbosity:
"executionStats"}). The existing explain:true flag
corresponds to "queryPlanner" mode and is still supported.
However, explain:true cannot be specified when explaining
aggregate via the explain command.

Additional execution information is provided only in the
$cursor section of the aggregation explain output. Having
aggregation stages themselves track and report execution
info is further work.
2017-03-13 09:46:14 -04:00
Kaloian Manassiev
39e06c9ef8 SERVER-22611 Sharding catalog cache refactor 2017-03-12 17:28:36 -04:00
Kaloian Manassiev
8125c55a25 Revert "SERVER-22611 Sharding catalog cache refactor"
This reverts commit ae2518adac.
2017-03-12 17:27:34 -04:00
Kaloian Manassiev
ae2518adac SERVER-22611 Sharding catalog cache refactor 2017-03-12 16:28:30 -04:00
William Schultz
c13a04b4c3 SERVER-24498 Write tests for linearizable reads in a sharded system 2017-03-09 15:15:30 -05:00
Judah Schvimer
c05f900dd8 SERVER-27403 Ensure sync source is ahead and has not rolled back after first OplogFetcher batch 2017-03-08 17:14:26 -05:00
Spencer Jackson
957549cd11 SERVER-27570: Enforce stricter checks on top level command BSON objects 2017-03-08 09:28:29 -05:00
Tess Avitabile
a6a96cdfea SERVER-28162 Tests that call getLatestProfilerEntry() should be blacklisted from dynamic initial sync passthrough suites 2017-03-02 17:45:56 -05:00
Misha Tyulenev
6fe8c420da SERVER-27773 add operationTime field to the command response 2017-02-28 17:10:02 -05:00
Judah Schvimer
f17d826a61 SERVER-21675 change replica_sets_legacy to replica_sets_pv0 2017-02-28 10:23:29 -05:00
David Storch
73d37b8fc3 SERVER-2104 add support for covered projections with dotted field paths
For example, suppose you have index {"a.b": 1}. The
projection {_id: 0, "a.b": 1} will now result in a covered
plan when this index is used.
2017-02-24 09:59:48 -05:00
Judah Schvimer
0688784106 SERVER-27995 rename replication test suites to be more consistent 2017-02-23 17:58:35 -05:00
Judah Schvimer
c8ab15b0dd SERVER-28065 blacklist jstests/core/views/duplicate_ns.js from initial sync suites 2017-02-21 14:15:02 -05:00
Daniel Gottlieb
24c073e764 SERVER-15749: Tag disk jstests that are mmap only. Run a disk_WT suite on those not filtered by the tag. 2017-02-08 13:55:59 -05:00
Spencer Jackson
47da0b53f9 SERVER-26952: Cache SCRAM-SHA-1 ClientKey 2017-02-02 17:48:07 -05:00
Max Hirschhorn
07f5d15330 SERVER-27285 Run jsCore tests while periodically killing secondaries.
Adds a new core_small_oplog_rs_kill_secondaries.yml suite that after
running tests for a certain period of time (defaults to 30 seconds),
resmoke.py will send a SIGKILL to all of the replica set's secondaries.
Each node is then restarted individually with the primary disabled to
verify it reaches the SECONDARY state within 5 minutes of starting up.
2017-01-30 20:33:17 -05:00
Jonathan Abrahams
75b69d02d0 SERVER-27843 Reduce oplog size for read_concern_linearizable_passthrough 2017-01-27 14:13:28 -05:00
Evan Broder
94b37aac06 SERVER-4786 Allow specifying sample rate of slow queries
Adds a sampleRate parameter to the profile command, a value
on the interval [0, 1] which indicates which fraction of
operations should be randomly sampled for profiling and
logging. This allows users to reduce their slowms threshold
or increase their profiling level with less performance
impact on the system.

Closes #1099

Signed-off-by: David Storch <david.storch@10gen.com>
2017-01-26 18:35:29 -05:00
Robert Guo
a1363d00d0 SERVER-27408 Allow resmoke to take more than one tag-related arguments.
Each tag argument can also be specified more than once and in both the
YAML suite definition and on the command line.

Tag argments will be agnostic to ordering, with each argument narrowing
down test files to be run. No tag is allowed to override another tag.
2017-01-26 15:49:59 -05:00
Jack Mulrow
97718a410d SERVER-27125 Arbiters in PV1 vote no if they can see a healthy primary of equal or greater priority to the candidate 2017-01-24 17:35:49 -05:00
Esha Maharishi
ac5d193edf SERVER-27625 remove dead ANSA and setShardVersion code 2017-01-23 15:19:28 -05:00
Randolph Tan
c35c342e4f SERVER-26791 remove deleted test from blacklist 2017-01-19 17:45:12 -05:00
Randolph Tan
0e9947736f Revert "Revert "SERVER-26791 Shard metadata commands should perform partial refresh as much as possible""
This reverts commit d3e67186d1.
2017-01-19 17:43:04 -05:00
Siyuan Zhou
d3e67186d1 Revert "SERVER-26791 Shard metadata commands should perform partial refresh as much as possible"
This reverts commit 6add2c82ba.
2017-01-19 17:20:12 -05:00
Randolph Tan
6add2c82ba SERVER-26791 Shard metadata commands should perform partial refresh as much as possible 2017-01-19 15:47:46 -05:00
Bernard Gorman
e8893fc311 SERVER-27438 Prevent mongos from dropping legacy $comment meta-operator
Closes #1135

Signed-off-by: James Wahlin <james.wahlin@10gen.com>
2017-01-18 12:08:17 -05:00
Jonathan Abrahams
517123b513 SERVER-27498 Add test suite file read_concern_linearizable_passthrough.yml 2017-01-13 09:54:42 -05:00
Jonathan Abrahams
5a8bd5a150 SERVER-27498 Add Linearizable readConcern passthrough test suite 2017-01-13 09:35:45 -05:00
Esha Maharishi
d13efaa5a6 SERVER-26785 rewrite addshard2.js to be able to unblacklist it from the last_stable suite 2017-01-11 11:48:17 -05:00
Judah Schvimer
e5b42cc86c SERVER-27582 initialize lastVote properly 2017-01-10 10:57:28 -05:00