mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-44599 Blacklist tests impacted by the sort optimization in multiversion suites
This commit is contained in:
parent
a7ff5838b5
commit
2d00fa0708
@ -1,10 +1,16 @@
|
||||
// Confirms that blocking sorts are covered when the index contains the sort key.
|
||||
// For example, if we have an index on {a:1, b:1} and a sort on {b:1}, and a projection of only
|
||||
// field 'b', we can sort using only the existing index keys, without needing to do a fetch.
|
||||
|
||||
// Queries on a sharded collection can't be covered when they aren't on the shard key. The document
|
||||
// must be fetched to support the SHARDING_FILTER stage.
|
||||
// @tags: [assumes_unsharded_collection]
|
||||
/**
|
||||
* Confirms that blocking sorts are covered when the index contains the sort key. For example, if we
|
||||
* have an index on {a:1, b:1} and a sort on {b:1}, and a projection of only field 'b', we can sort
|
||||
* using only the existing index keys, without needing to do a fetch.
|
||||
*
|
||||
* Queries on a sharded collection can't be covered when they aren't on the shard key. The document
|
||||
* must be fetched to support the SHARDING_FILTER stage.
|
||||
* @tags: [
|
||||
* assumes_unsharded_collection,
|
||||
* # Sort optimizations added for hashed indexes in 4.6 can generate a different plan.
|
||||
* requires_fcv_46
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
@ -3,7 +3,10 @@
|
||||
* the 'find' command. The test verifies compound hashed index with hashed prefix and non-hashed
|
||||
* prefix.
|
||||
* @tags: [
|
||||
* assumes_unsharded_collection,
|
||||
* assumes_unsharded_collection,
|
||||
* # Sort optimizations added in 4.6 can generate a different plan in the presence of equality
|
||||
* # predicates.
|
||||
* requires_fcv_46
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
@ -194,4 +197,4 @@ validateFindCmdOutputAndPlan({
|
||||
expectedOutput: [{c: 2}],
|
||||
expectedStages: ["IXSCAN", "FETCH", "SORT"]
|
||||
});
|
||||
})();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user