summaryrefslogtreecommitdiff
path: root/src/mongo/db/instance.cpp
AgeCommit message (Collapse)Author
2018-11-27SERVER-30815 Remove the db/serveronly libraryAndrew Morrow
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2016-12-14SERVER-23103 Remove remaining logic from instance.cppAndrew Morrow
2016-12-14SERVER-23103 Move assembleResposne to its own libraryAndrew Morrow
2016-12-14SERVER-23103 Move DiagLog to its own libraryAndrew Morrow
2016-11-02SERVER-6302 Fix multiple fsyncLock() invocation race conditionJames Wahlin
2016-10-24SERVER-25654 Don't use int millis for elapsed timeGeert Bosch
2016-10-07SERVER-26325: Show redacted slow operation report when redaction enabledSpencer Jackson
2016-09-26SERVER-25994: Make applyOps check for specific permissionsSpencer Jackson
2016-09-02SERVER-25159 Default BSON validation version should depend on ↵Tess Avitabile
admin.system.version
2016-09-02SERVER-24991 log redaction for commands, concurrency, exec, indexThomas Schubert
2016-08-04SERVER-24613 Add Client Metadata Documents' AppName to slow operation logsMark Benvenuto
2016-06-24SERVER-5905 Add operation latency histogramKevin Albertson
2016-06-24Revert "SERVER-5905 Add operation latency histogram"Mathias Stearn
This reverts commit c7794350b056cdea85e1c6185a7dda4579936179.
2016-06-23SERVER-5905 Add operation latency histogramKevin Albertson
Signed-off-by: Kyle Suarez <kyle.suarez@mongodb.com>
2016-06-22SERVER-24418 Make Message and BufBuilder use SharedBuffer for memory managementMathias Stearn
This makes it possible to get owned BSONObj out of a Message without copying. Hooked up to the following places: - Anything using the Fetcher (including oplog fetching on secondaries) - Anything using DBClientInterface::findOne() - Anything using CursorResponse (including Sharded queries) As a simplification, Messages no longer support non-contiguous buffers, or non-owning buffers. The former wasn't used by anything, and the latter was only used by mongosniff only for messages that fit in a single packet.
2016-06-13SERVER-24323 Rename CatalogManager to ShardingCatalogClientSpencer T Brody
Renames the relevant classes and libraries, moves files, updates comments referencing the CatalogManager, and renames common methods for getting the catalogManager (like grid.catalogManager()). No functional changes.
2016-05-28SERVER-23971 Clang-Format codeMark Benvenuto
2016-05-19SERVER-23260 Consolidate CurOp and OpDebug query objectsJames Wahlin
2016-04-21SERVER-23128 Refactor mongod write operationsMathias Stearn
Now both write commands and legacy writes share an implementation.
2016-04-21SERVER-23128 Parsers that parse legacy and command writes into uniform objectsMathias Stearn
2016-04-21SERVER-23128 Remove sharding logic from UpdateLifecycleImplMathias Stearn
It didn't actually do anything
2016-04-21SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD opsJames Wahlin
2016-04-21Revert "SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops"Benety Goh
This reverts commit 6bbaee174447ee1c9177c72bdd07f050ab07e901.
2016-04-21SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD opsJames Wahlin
2016-04-20SERVER-23257 Report keysExamined/docsExamined/hasSortStage where validJames Wahlin
2016-04-20SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵Andy Schwerin
cc().makeOperationContext(). Also, make OperationContextImpl's constructor private so that it can only be constructed via a Client.
2016-04-19Revert "SERVER-23779 Replace direct instantiation of OperationContextImpl ↵Eric Milkie
with cc().makeOperationContext()." This reverts commit 0ab34aa7b9c3c48ea6cf17888620fca455284d35.
2016-04-18SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵Andy Schwerin
cc().makeOperationContext(). Also, make OperationContextImpl's constructor private so that it can only be constructed via a Client.
2016-03-30SERVER-23434 Make find and getMore return InvalidNamespace on bad namespacesKaloian Manassiev
2016-03-29SERVER-23405 Get rid of Command::getStatusFromCommandKaloian Manassiev
2016-03-21SERVER-23103 Make libcommand not depend on libcuropAndrew Morrow
2016-03-21SERVER-23103 Unify exit handlingAndrew Morrow
2016-03-17SERVER-20077 requestId field of message header should always be a signed integerWaley Chen
2016-03-16SERVER-22997 Unify wait for migrate critical section and metadata refreshKaloian Manassiev
This change gets rid of commands explicitly waiting for critical section establishment and instead makes all operations when they encounter stale version to install a wait object on the OperationContext, which can be used to wait for critical section outside of lock. It also makes refresh to happen outside of lock.
2016-02-29SERVER-22681 Avoid calling infoCache() when collection doesn't exist.Max Hirschhorn
2016-02-24SERVER-22353 disable profiling in readOnly modeAdam Midvidy
2016-02-18SERVER-22239 DuplicateKey Error, update optime to latest after insert failureDianna Hohensee
2016-02-17SERVER-22698 fix duplicate error codes caused by broken errorcodes.pyAdam Midvidy
2016-02-02SERVER-18468 add 'fromMultiPlanner' and 'replanned' flags to slow command logsDavid Storch
2016-02-02SERVER-22167: Move fixDocuments up earlier in the insert path to ensure it runsMartin Bligh
2016-01-29SERVER-21823 Update and findAndModify with {upsert: true} should report ↵Tess Avitabile
nMatched:0 nModified:0 if results in an insert
2016-01-21SERVER-20808 reject negative ntoreturn on OP_GET_MORE messagesDavid Storch
Also makes negative ntoreturn an error on a tailable cursor, which was previously the only known edge case in which the shell could send a negative ntoreturn with a getMore.
2015-12-30SERVER-21776 Most instance.cpp log msgs should use kCommand componentJason Rassi
2015-12-15SERVER-21772 correctly profile and log findAndModify operationsDavid Storch
2015-12-11SERVER-21750 clean up getMore logging and profilingDavid Storch
--Omit ntoreturn and ntoskip from the getMore command log line. --Add nreturned to the getMore command log line. --Upconvert OP_GET_MORE profiler entries to match getMore cmd.
2015-11-24SERVER-21653 do not cache lastoptime decoration from Client objectEric Milkie
2015-11-13SERVER-20884 build command replies in-place to avoid copiesAdam Midvidy
2015-11-11SERVER-21276: Fix various issues with topMartin Bligh
2015-10-30SERVER-20609 optimize OpDebug and CurOp constructionAdam Midvidy
- replace assignment with NSDMI - remove the giant ThreadSafeString from CurOp - remove unnecessary reset() call to opDebug in assembleResponse