summaryrefslogtreecommitdiff
path: root/src/mongo/s/shard_key_pattern.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-191-14/+16
|
* SERVER-35794 Validate shard key against existing zonesCheahuychou Mao2018-08-151-5/+5
| | | | (cherry picked from commit e7736e0424eccf99431cc302447dad7fc2f14c4d)
* SERVER-34644 Only explicitly do $-prefix check when writing sharded metadataKaloian Manassiev2018-04-301-8/+22
|
* SERVER-34644 Do not use dynamic memory allocation in ↵Kaloian Manassiev2018-04-301-93/+85
| | | | ShardKeyPattern::flattenBounds
* SERVER-34644 Assert that ShardKeyPattern is always constructed with a valid keyKaloian Manassiev2018-04-261-38/+20
| | | | | | | There is never a reason to construct ShardKeyPattern with an invalid shard key because this information comes from the sharded metadata. Asserting that this is the case allows us to also get rid of all the ShardKeyPattern::isValid checks.
* SERVER-31760 Add InternalExprEqMatchExpression.David Storch2017-12-181-2/+2
|
* SERVER-30783 Move init() logic to MatchExpression constructorsBlake Oler2017-11-141-1/+1
|
* SERVER-30731 Add expr support in MatchExpression outside of aggregationTess Avitabile2017-10-051-2/+1
|
* SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parseTess Avitabile2017-08-251-1/+7
|
* SERVER-29136 Better extractDocumentKeyNathan Myers2017-08-151-1/+2
|
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-1/+1
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-29334 remove dotted field name check from BSONObj::okForStorageDianna Hohensee2017-06-021-1/+1
|
* SERVER-28621 Parse BSON update expression into an UpdateNode treeTess Avitabile2017-04-201-1/+1
|
* SERVER-27681 Remove duplicated ShardKeyPattern functionality from ↵Kaloian Manassiev2017-03-221-54/+67
| | | | CollectionMetadata
* SERVER-27975 Remove many uses of `OwnedPointerVector`ADAM David Alan Martin2017-03-101-15/+13
| | | | | This removes many of the remaining uses of the deprecated `OwnedPointerVector` type.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-2/+3
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-24439 code cleanup for collation shard targetingTess Avitabile2016-08-231-5/+5
|
* SERVER-24118 Rename LiteParsedQuery to QueryRequest.David Hatch2016-06-031-3/+3
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+4
|
* SERVER-24045 Refactor CanonicalQuery::canonicalize()Tess Avitabile2016-05-101-2/+4
|
* SERVER-23610 CanonicalQuery should own a CollatorInterfaceTess Avitabile2016-05-051-3/+4
|
* SERVER-23494 Remove link dependency of mongod on coreshardKaloian Manassiev2016-04-051-1/+4
|
* SERVER-23509 Consolidate mongod-specific sharding commands under db/sKaloian Manassiev2016-04-051-2/+1
|
* SERVER-22569 Change findParentEqualityElement() to return by value.Max Hirschhorn2016-02-121-1/+1
| | | | | | MSVC 2013 doesn't support thread-safe initialization of function-local static-duration objects, so it's possible to return a reference to 'eooElement' prior to the value being fully initialized.
* SERVER-21441 faster shard targeting for equality queries on the shard keyDavid Storch2015-11-171-2/+9
|
* SERVER-19510 Refactor WhereMatchExpression/WhereNoOpMatchExpressionJason Rassi2015-11-061-0/+1
| | | | | | | | | | - Moves ExtensionsCallbackReal and ExtensionsCallbackNoop to their own files, and introduces a new library 'expressions_mongod_only' in db/matcher/. - Introduces a common base class for WhereMatchExpression and WhereNoOpMatchExpression. - Introduces a protected method extractWhereMatchExpressionParams() on ExtensionsCallback.
* SERVER-19510 Rename MatchExpressionParser::WhereCallbackJason Rassi2015-11-051-1/+1
|
* SERVER-19235 CQ::canonicalize() to use NamespaceString rather than std::stringQingyang Chen2015-07-271-1/+2
|
* SERVER-16889 CanonicalQuery::canonicalize() return SW<unique_ptr<CQ>>Qingyang Chen2015-06-231-6/+5
|
* Revert "SERVER-16889 query subsystem CanonicalQuery::canonicalize use ↵Qingyang Chen2015-06-221-5/+6
| | | | | | StatusWith<unique_ptr> for ownership transfer" This reverts commit 3f6f66daac840fe2b2dc26eeeacbf015479567df.
* SERVER-16889 query subsystem CanonicalQuery::canonicalize use ↵Qingyang Chen2015-06-221-6/+5
| | | | StatusWith<unique_ptr> for ownership transfer
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-326/+305
|
* SERVER-17308 Remove duplicate std::unique_ptr using-declarationsJason Rassi2015-06-191-4/+3
|
* SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptrAndrew Morrow2015-06-101-2/+1
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-3/+2
|
* SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-1/+1
|
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-1/+1
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+2
|
* SERVER-13256 Remove scoped_ptr from pch.hAndrew Morrow2015-01-051-0/+2
|
* SERVER-14973 consolidate shard key parsing, cleanup shard key patternsGreg Studer2014-10-161-15/+392
|
* SERVER-5022 allow covered queries with shard filterGreg Studer2014-09-021-7/+4
|
* SERVER-14431 Invalid chunk data after splitting on a key that's too large to ↵Randolph Tan2014-07-231-1/+1
| | | | | | index Fix error message
* SERVER-14431 Invalid chunk data after splitting on a key that's too large to ↵Randolph Tan2014-07-231-2/+23
| | | | index
* SERVER-10818 enforce unique indexes on mongod for index write commandsGreg Studer2013-11-101-0/+43