0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-41860 Blacklist plan cache tests from the transactions passthroughs

This commit is contained in:
Charlie Swanson 2019-06-21 12:54:32 -04:00
parent ee746fb167
commit 491d4e528a
13 changed files with 39 additions and 7 deletions

View File

@ -340,6 +340,8 @@ selector:
- assumes_no_implicit_index_creation
- assumes_unsharded_collection
- cannot_create_unique_index_when_using_hashed_shard_key
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -370,6 +370,8 @@ selector:
# Cannot retry a getMore command if a transient transaction or network error occurs during
# it, since we won't know whether the cursor was advanced or not.
- requires_getmore
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -414,6 +414,9 @@ selector:
# "Cowardly fail if unbounded dataSize is run with a mongod that had an unclean shutdown: ..."
- requires_datasize
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:
hooks:

View File

@ -423,6 +423,9 @@ selector:
# "Cowardly fail if unbounded dataSize is run with a mongod that had an unclean shutdown: ..."
- requires_datasize
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:
hooks:

View File

@ -386,6 +386,8 @@ selector:
- cannot_create_unique_index_when_using_hashed_shard_key
- assumes_balancer_off
- requires_fastcount
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -270,6 +270,8 @@ selector:
- assumes_write_concern_unchanged
# Transactions are not allowed to operate on capped collections.
- requires_capped
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -358,6 +358,8 @@ selector:
- operations_longer_than_stepdown_interval_in_txns
# Transactions are not allowed to operate on capped collections.
- requires_capped
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -340,6 +340,8 @@ selector:
- operations_longer_than_stepdown_interval_in_txns
# Transactions are not allowed to operate on capped collections.
- requires_capped
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -346,6 +346,8 @@ selector:
- operations_longer_than_stepdown_interval_in_txns
# Transactions are not allowed to operate on capped collections.
- requires_capped
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -113,6 +113,8 @@ selector:
## The next tag corresponds to long running-operations, as they may exhaust their number
# of retries and result in a network error being thrown.
- operations_longer_than_stepdown_interval
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -310,6 +310,8 @@ selector:
- assumes_against_mongod_not_mongos
# Transactions are not allowed to operate on capped collections.
- requires_capped
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
executor:
archive:

View File

@ -4,11 +4,12 @@
// # This test attempts to perform queries and introspect the server's plan cache entries. The
// # former operation may be routed to a secondary in the replica set, whereas the latter must be
// # routed to the primary.
// # If the balancer is on and chunks are moved, the plan cache can have entries with isActive:
// # false when the test assumes they are true because the query has already been run many times.
// assumes_read_preference_unchanged,
// does_not_support_stepdowns,
// # If the balancer is on and chunks are moved, the plan cache can have entries with isActive:
// # false when the test assumes they are true because the query has already been run many times.
// assumes_balancer_off,
// inspects_whether_plan_cache_entry_is_active,
// ]
(function() {

View File

@ -1,11 +1,18 @@
/**
* Test that cached plans which use wildcard indexes work.
*
* This test attempts to perform queries and introspect the server's plan cache entries using the
* $planCacheStats aggregation source. Both operations must be routed to the primary, and the latter
* only supports 'local' readConcern.
* @tags: [assumes_read_preference_unchanged, assumes_read_concern_unchanged,
* does_not_support_stepdowns, assumes_balancer_off]
* @tags: [
* # This test attempts to perform queries and introspect the server's plan cache entries using
* # the $planCacheStats aggregation source. Both operations must be routed to the primary, and
* # the latter only supports 'local' readConcern.
* assumes_read_preference_unchanged,
* assumes_read_concern_unchanged,
* does_not_support_stepdowns,
* # If the balancer is on and chunks are moved, the plan cache can have entries with isActive:
* # false when the test assumes they are true because the query has already been run many times.
* assumes_balancer_off,
* inspects_whether_plan_cache_entry_is_active,
* ]
*/
(function() {
"use strict";