summaryrefslogtreecommitdiff
path: root/src/mongo/db/keypattern.cpp
AgeCommit message (Collapse)Author
2024-05-20SERVER-90636 Safely handle large numbers in KeyPattern (#22322)Yuhong Zhang
GitOrigin-RevId: ccc44940c436332bccdbee028f9cd348c6e4971d
2024-05-08SERVER-83759: Implement update-by-_id in Express path. (#21394)Colin Stolley
SERVER-83759: Implement update-by-_id in Express path. Co-authored-by: Justin Seyster <justin.seyster@mongodb.com> GitOrigin-RevId: c1533aeeb6f9ccc867523791685604b1496a4b18
2023-06-27SERVER-77047 SERVER-77048 IWYU automated changes up to end ratio 0.8Daniel Moody
2021-10-16SERVER-60273 Calculate the estimated size for missing types in ↵Drew Paroski
sbe::value::getApproximateSize()
2021-05-28SERVER-55557 Range deletion of aborted migration can fail after a refine ↵Jordi Serra Torrens
shard key
2021-05-06SERVER-56513 remove KeyPattern::isIdKeyPattern()Benety Goh
This is redundant when we have IndexDescriptor::isIdIndex().
2019-07-27SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.1
2019-04-08SERVER-40476 remove mongoutils::str::equalsBilly Donahue
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2018-04-30SERVER-32645 Create a shim helper framework.ADAM David Alan Martin
The `MONGO_DECLARE_SHIM`, `MONGO_DEFINE_SHIM`, and `MONGO_REGISTER_SHIM` macros can be used to create specialized types which are customization and auto-registration points for late-binding functions. In some sense they work like weak-symbols; however, they also are useful for tracking dependencies upon shimmed-out implementations.
2018-04-30Revert "SERVER-32645 Create a shim helper framework."Kyle Suarez
This reverts commit 2227f272a7a0a3e43625cb2d4a2704e1ccb6f893.
2018-04-27SERVER-32645 Create a shim helper framework.ADAM David Alan Martin
The `MONGO_DECLARE_SHIM`, `MONGO_DEFINE_SHIM`, and `MONGO_REGISTER_SHIM` macros can be used to create specialized types which are customization and auto-registration points for late-binding functions. In some sense they work like weak-symbols; however, they also are useful for tracking dependencies upon shimmed-out implementations.
2016-12-27SERVER-27175 Improve performance of planSummary string generationJames Wahlin
2016-05-28SERVER-23971 Clang-Format codeMark Benvenuto
2015-06-20SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto
2014-10-16SERVER-14973 consolidate shard key parsing, cleanup shard key patternsGreg Studer
2014-09-03SERVER-5022 cleanup keypattern.h and shardkey.h, remove dead codeGreg Studer
2014-09-02SERVER-5022 allow covered queries with shard filterGreg Studer
2014-05-05SERVER-13807 Remove old query framework related to shard targetingSiyuan Zhou
2014-05-01SERVER-13656 Use new query framework in getShardsForQuery on mongosSiyuan Zhou
2013-09-06SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen
2013-05-02SERVER-8791 SERVER-9212 remove IndexSpecHari Khalsa
2013-04-12migrate fts/haystack + add/del logic SERVER-8791 SERVER-9164 SERVER-9165Hari Khalsa
2013-04-08migrate hash index to new index api SERVER-8791 SERVER-9164Hari Khalsa
2013-01-16SERVER-5710 Changed KeyPattern.hasField() sematics to consider dotted field ↵Alberto Lerner
prefixes.
2012-12-27SERVER-7668 append MinKey instead of null when extending tag boundaryKevin Matulef
2012-10-16SERVER-2001 filter queries on mongod using new key extraction pathKevin Matulef
Queries on mongod must filter out documents that do not currently belong to the shard. The belongsToMe function now uses the new key extraction path to make this determination. An optimization is also added to the clientcursor class so that it can make this determination using a covered index if available.
2012-10-15SERVER-2001 calculate query bounds using more general key expressionsKevin Matulef
In sharding, given a key expression like {a : 1} or {a : -1} we must translate a query to a set of bounds to figure out which shards are relevant. This patch amends the keyBounds calculation function so that patterns which start with "hashed" fields calculate the right bounds.
2012-10-15SERVER-2001 KeyPattern class; utilities for more general index & shard key specsKevin Matulef
The KeyPattern class is an abstraction for defining more general expression-based keys (both index keys and shard keys). This class provide some utility functions for extracting keys based on an expression, and computing range bounds based on an expression. This patch lays the groundwork and begins to make use of KeyPatterns. The idea is that to implement more general key expressions, we will only need to enhance the functions in this class.