Commit Graph

11 Commits

Author SHA1 Message Date
David Storch
01e9fd6d0e SERVER-44823 Add sharding support for $planCacheStats.
When a $planCacheStats pipeline is delivered to a mongos, it
will be forwarded to one host in each shard following the
normal host targeting rules for aggregate operations. Each
of the documents returned to the client will be augmented
with "shard" and "host" fields, giving the name of the shard
and the host:port string from which the plan cache metadata
originated.

Allowing clients to collect plan cache information from
every shardsvr in the cluster is left as future work.
2019-12-09 21:49:17 +00:00
David Storch
36ff260fe6 SERVER-44701 Remove support for 'planCacheListQueryShapes' and 'planCacheListPlans'.
As an alternative, use the $planCacheStats aggregation
stage. This metadata source, when placed first in the
pipeline, returns one document per plan cache entry for a
particular collection. This data can then be filtered,
projected, grouped, or otherwise processed with the full
power of MQL.
2019-11-26 14:29:44 +00:00
Ted Tuckman
e4a459fbe8 SERVER-39766 Blacklist plan_cache tests from migration suite 2019-03-01 09:13:13 -05:00
Ted Tuckman
0eb00eb5a7 SERVER-39463 Add logging to plan_cache_shell_helpers.js 2019-02-08 16:20:10 -05:00
Max Hirschhorn
264d971842 SERVER-32691 Add write_concern_majority_passthrough.yml test suite.
Also adds support for using replica set connection strings in resmoke.py
without making all nodes electable.
2018-01-30 19:45:42 -05:00
Jack Mulrow
00d92ece19 SERVER-31194 Add jscore tags for retryable_writes_jscore_stepdown_passthrough.yml suite
The actual suite will come in a follow-up commit.
2017-12-07 14:36:15 -05:00
jannaerin
bace2a3017 SERVER-31610 Add timestamp to plan cache entries 2017-11-13 18:21:23 -05:00
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy
3bed8596d1 SERVER-22341 fix jslint errors in jstests/core with eslint --fix
Conflicts:
	jstests/core/count_hint.js
2016-02-09 13:41:02 -05:00
David Storch
7dcbdc440a SERVER-13675 do not cache plans if there is a tie 2014-05-22 18:04:51 -04:00