summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-16801 Require strict equality for $set no-op checksAndrew Morrow2016-09-022-5/+62
| | | | (cherry picked from commit a7e243500cbf11d1e153f55b551c86713ddf2a9b)
* SERVER-7005 reject embedded null bytes in $renameDavid Storch2016-04-212-0/+32
| | | | (cherry picked from commit 75f24a26015566ce5458887de1431d2458ff7fd3)
* SERVER-22569 Change findParentEqualityElement() to return by value.Max Hirschhorn2016-02-202-9/+8
| | | | | | | | 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. (cherry picked from commit 4f1cc51f3e21e4ff76c68e86ecae4e5d138de0aa)
* SERVER-21647 add missing $rename unit testDavid Storch2016-01-111-0/+6
| | | | (cherry picked from commit b45dba8425b49714c5ca1394aba0bb97029c2560)
* SERVER-21647 fix $rename to not re-order fields when the destination field ↵David Storch2016-01-112-4/+44
| | | | | | is already present (cherry picked from commit 994060e622c22783c29ff3d1c243c298fcd3442c)
* SERVER-21772 correctly profile and log findAndModify operationsDavid Storch2015-12-151-1/+6
| | | | (cherry picked from commit 95c072ee0a3efd3ecf188ed508d95fe236b05d48)
* SERVER-21653 do not cache lastoptime decoration from Client objectEric Milkie2015-11-241-3/+2
|
* SERVER-19510 Move ExtensionsCallback out of MatchExpressionParserJason Rassi2015-11-121-1/+1
|
* SERVER-19510 Refactor $text match expression parsingJason Rassi2015-11-122-5/+5
| | | | | | | - Text parsing no longer uses dedicated callback handle; responsibility moved to ExtensionsCallback. - Introduces TextMatchExpressionBase (new base class for existing class TextMatchExpression and new class TextNoOpMatchExpression).
* SERVER-19510 Refactor WhereMatchExpression/WhereNoOpMatchExpressionJason Rassi2015-11-064-2/+6
| | | | | | | | | | - 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 ExtensionsCallbackReal ctor take ptr to NamespaceStringJason Rassi2015-11-052-2/+2
|
* SERVER-19510 Rename MatchExpressionParser::WhereCallbackJason Rassi2015-11-055-8/+8
|
* SERVER-21048: Stop regetting the collection in deleteObjectsMartin Bligh2015-10-212-7/+2
|
* SERVER-20487 w:majority writes that return an error should wait for replicationEric Milkie2015-09-231-4/+9
|
* SERVER-19361 Prevent inserting of doc with more than one _id fieldYunhe (John) Wang2015-09-161-3/+8
|
* SERVER-19706 Empty bit operation now returns BadValue errorYunhe (John) Wang2015-09-092-0/+12
| | | | | | Closes #1017 Signed-off-by: David Storch <david.storch@10gen.com>
* SERVER-2227 Addition of index usage statisticsJames Wahlin2015-09-031-1/+1
|
* SERVER-19628 Add Decimal128 type support to update/delete code pathsDavid Hatch2015-08-132-1/+131
|
* SERVER-18522 permit replicated writes with deleteObjects() (used by sharding)Eric Milkie2015-07-301-3/+9
|
* SERVER-18522 set lastOp to last system optime, on no-op updates or deletesEric Milkie2015-07-292-0/+15
|
* SERVER-18084 Cleanup includesKaloian Manassiev2015-07-282-4/+4
|
* SERVER-19235 CQ::canonicalize() to use NamespaceString rather than std::stringQingyang Chen2015-07-273-3/+4
|
* SERVER-9666 Collapse the low level cyclic libs into a new base libAndrew Morrow2015-07-211-2/+2
|
* SERVER-18084 Make ShardingState a decoration on ServiceContextKaloian Manassiev2015-07-141-2/+2
|
* SERVER-18084 Move mongod metadata management to be under mongo/dbKaloian Manassiev2015-07-112-4/+10
| | | | | Moves the metadata management code specific to mongod under the mongo/db directory along with its tests.
* SERVER-18084 Move code out of d_state.h/.cppKaloian Manassiev2015-07-111-1/+3
| | | | | | | Move the ShardingState/ShardedConnectionInfo classes out of d_state and put them in separate sources under mongo/db. No functional changes.
* SERVER-16889 StatusWithMatchExpression replace ME* with unique_ptr<ME>Qingyang Chen2015-07-062-3/+4
|
* SERVER-18928: replace "mongo/platform/cstdint.h" with <cstdint>Kang In Cheol2015-06-2915-15/+27
| | | | | | Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com> Closes #988
* SERVER-16889 Modernize getExecutor*(), PlanExecutor::make() signaturesQingyang Chen2015-06-262-8/+6
|
* SERVER-16889 CanonicalQuery::canonicalize() return SW<unique_ptr<CQ>>Qingyang Chen2015-06-236-51/+48
|
* Revert "SERVER-16889 query subsystem CanonicalQuery::canonicalize use ↵Qingyang Chen2015-06-226-48/+51
| | | | | | StatusWith<unique_ptr> for ownership transfer" This reverts commit 3f6f66daac840fe2b2dc26eeeacbf015479567df.
* SERVER-16889 query subsystem CanonicalQuery::canonicalize use ↵Qingyang Chen2015-06-226-51/+48
| | | | StatusWith<unique_ptr> for ownership transfer
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-2074-13075/+12563
|
* SERVER-17308 Remove duplicate std::unique_ptr using-declarationsJason Rassi2015-06-191-1/+0
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-1017-37/+22
|
* SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-105-35/+35
|
* SERVER-18807 modified ReplicationCoordinator::canAcceptWritesForDatabases to ↵Benety Goh2015-06-091-2/+1
| | | | accept a namespace instead of a database name
* SERVER-9666 Split up and push bson library into bson directoryAndrew Morrow2015-05-061-18/+19
|
* SERVER-9666 Push update_index_data into db directoryAndrew Morrow2015-04-291-1/+1
|
* SERVER-18131 Clean up LastError.Andy Schwerin2015-04-291-0/+1
| | | | | | | | Makes LastError a decoration on Client. Removes behavior that was specific to the dbKillCursors wire protocol message into the processing for that message, and out of last error. Simplifies lifetime of LastError. It always exists on Clients, so there's no checking for its existence, and no passing it around through parts of the networking library.
* SERVER-18111 Forbid most user operations against "system.profile"Jason Rassi2015-04-282-3/+16
| | | | | | | | | Forbids user writes to "system.profile". Notably, this also prevents "system.profile" from being used as a source or target from renameCollection. Creation, drop, and capped conversion of "system.profile" remain allowed.
* SERVER-9666 Push range arithmatic and global timestamp into dbAndrew Morrow2015-04-241-1/+1
|
* SERVER-9666 Push foundation lib declaration into util directoryAndrew Morrow2015-04-241-1/+1
|
* SERVER-9666 Move matcher libs and tests to new SConscriptAndrew Morrow2015-04-241-3/+3
|
* Revert "SERVER-18131 Clean up LastError."Andy Schwerin2015-04-231-1/+0
| | | | | This reverts commit 54c25da33ec7270295c8948f6a51376ec4fd278c and commit c952a9396a1843aa45d6afa3c6785dec607de112.
* SERVER-18131 Clean up LastError.Andy Schwerin2015-04-231-0/+1
| | | | | | | | Makes LastError a decoration on Client. Removes behavior that was specific to the dbKillCursors wire protocol message into the processing for that message, and out of last error. Simplifies lifetime of LastError. It always exists on Clients, so there's no checking for its existence, and no passing it around through parts of the networking library.
* SERVER-17689: handle wce better in initial syncScott Hernandez2015-04-231-17/+19
|
* SERVER-16063 Rewrite the findAndModify command.Charlie2015-04-149-27/+134
| | | | | | | | Changed UpdateStage to return the prior or newly-updated version of a document if request. also changed DeleteStage to return the deleted document if requested. Added explain support to the findAndModify command.
* SERVER-17496 Remove unused code and includes in shardingKaloian Manassiev2015-04-091-3/+5
|
* SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵matt dannenberg2015-04-096-46/+7
| | | | and eliminate repl bools