summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_entry_point_mongod.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-40069 Fix global lock tracking for txnsJudah Schvimer2019-04-171-2/+12
| | | | | Includes SERVER-40084, stores global lock acquisition flag in an atomic.
* Revert "SERVER-40069 Fix global lock tracking for txns"Benety Goh2019-03-291-1/+3
| | | | This reverts commit d99db775dbf73e27bd20e402f26f068dc199203d.
* SERVER-40069 Fix global lock tracking for txnsA. Jesse Jiryu Davis2019-03-281-3/+1
| | | | | Includes SERVER-40084, stores global lock acquisition flags in an atomic.
* SERVER-40227 Pass ignore prepare behavior from a command attribute rather ↵Louis Williams2019-03-261-1/+5
| | | | than using a whitelist
* SERVER-39074 All operations enforce prepare conflicts by defaultLouis Williams2019-03-191-2/+4
| | | | | | | | | | | | Prepare conflicts may only be safely ignored when a command can guarantee it does not perform writes. Prepare conflicts are ignored when the read concern is local, available, or majority and the command is aggregate, count, distinct, find, getMore, or group. Aggregate is a special case because it may perform writes to an output collection, but it enables prepare conflict enforcement before doing so. Additionally, connections from a DBDirectClient inherit the ignore_prepare state from their parent operation.
* SERVER-37948 Satisfy linearizable read concern on getmore cursors.Jason Chan2019-02-141-1/+1
|
* Revert "SERVER-37948 Satisfy linearizable read concern on getMores"Louis Williams2019-02-141-1/+1
| | | | This reverts commit 0cdb86f3cf2bbabe448669598c32297f5ec8214f.
* SERVER-37948 Satisfy linearizable read concern on getMoresJason Chan2019-02-131-1/+1
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-38511 Avoid killing read operations on stepdown, gated by new server ↵Suganthi Mani2019-01-231-1/+1
| | | | parameter “closeConnectionsOnStepdown”.
* SERVER-37560 Add core functionality for speculative majority readsWilliam Schultz2018-12-211-0/+10
| | | | This patch adds functionality for "speculative" majority reads. These are reads that can satisfy "majority" read concern guarantees without support from the storage engine for reading from a historical snapshot. Queries of this nature will, by default, wait on the most recent lastApplied optime to majority commit after they complete, but before returning to the client. They can also optionally set a custom optime T to wait on, if they know that they did not read any data that reflects the effects of operations newer than optime T.
* SERVER-28871: Remove user management command write concern backwards ↵Spencer Jackson2018-12-031-9/+0
| | | | compatibility
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-37294 Remove dependency on clientdriver_network and transport_layer ↵Henrik Edin2018-10-041-0/+52
| | | | for embedded.
* SERVER-36084 Remove sharding runtime from ServiceEntryPointCommon and ↵Henrik Edin2018-09-261-0/+41
| | | | embedded build
* SERVER-35031 Return MaxTimeMSExpired for maxTimeMS timeoutJames Wahlin2018-07-241-1/+1
| | | | | | Adds a new 'MaxTimeMSExpired' error code, returned when a timeout occurs due to exceeding of maxTimeMS. Timeouts unrelated to maxTimeMS will continue to return 'ExceededTimeLimit'.
* SERVER-34628 Really remove appendCommandStatusMathias Stearn2018-05-081-1/+1
| | | | | | | | | | All remaining callers are transitioned to some form of usassert. This was done with an elaborate set of vim macros to make this tractable. Therefore it should not be considered an example of the best way to write new code, just as an improvement on what was there before. In particular, I couldn't easily remove Status's that are named then only used once in uassertStatusOK, nor could I convert the pattern of checking a StatusWith<T>'s getStatus() then calling getValue() to just call uassertStatusOK(returnsStatusWith()).
* SERVER-34628 Prep for removing appendCommandStatusMathias Stearn2018-05-081-1/+1
| | | | | | | | | * Added appendCommandStatusNoThrow matching the current aCS behavior * Make appendCommandStatus call uassertStatusOK then aCS on success * Make the few places that need to not throw call aCSNT A following commit will completely remove appendCommandStatus. It is split out because that commit is fairly huge.
* SERVER-34679 Preserve writeConcernError when commands fail by throwingMathias Stearn2018-05-011-1/+1
|
* Revert "SERVER-28871 remove obsolete Command::isUserManagementCommand"Denis Khodyakov2018-04-251-0/+9
| | | | This reverts commit 76bc4f800ba2a103d67fa4600d3946f255927818.
* SERVER-28871 remove obsolete Command::isUserManagementCommandBilly Donahue2018-04-241-9/+0
|
* SERVER-34171 Make isUserManagementCommand a property of Command.Billy Donahue2018-03-281-2/+2
| | | | ...rather than a whitelist of names maintained in commands.h.
* SERVER-33065 CommandReplyBuilder and CommandInvocationBilly Donahue2018-03-061-13/+12
| | | | | | Revert "Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"" This reverts commit 74177edb35b6ce7594e4751051010ceade592484. Leave out the unintentional repl/ change this time.
* Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"Nick Zolnierz2018-03-051-12/+13
| | | | This reverts commit ad94e51e0dd40b0d0c38215a36caf75a4be48415.
* SERVER-33355 Support readConcern level snapshot reads on secondariesJames Wahlin2018-03-031-4/+3
|
* SERVER-33065 CommandReplyBuilder and CommandInvocationBilly Donahue2018-03-021-11/+11
| | | | | | | | | | | | remove publicRun from mr_test.cpp change explain to take OpMsgRequest private explain private allowsAfterClusterTime private supportsWriteConcern supportsReadConcern remove publicRun cluster_explain_cmd.cpp: do not inject "$db" field. let explain() exceptions escape update cluster distinct explain
* SERVER-33214 ServiceEntryPointCommonBilly Donahue2018-02-141-1095/+57
| | | | | | | | common base for service_entry_point_embedded and service_entry_point_mongod. Use the deps of service_entry_point_embedded as a starting point for the deps of service_entry_point_common.
* SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵Henrik Edin2018-02-141-1/+1
| | | | getting interfaces without using global get function.
* SERVER-32776 ReplicationCoordinator::prepareReplMetadata no longer requires ↵Benety Goh2018-02-131-1/+1
| | | | | | | OperationContext The OperationContext was previously used to retrieve the rollback ID from the ReplicationProcess.
* SERVER-33221 Add find & getMore commands to session checkout whitelistJames Wahlin2018-02-131-3/+9
|
* Revert "SERVER-33221 Add find & getMore commands to session checkout whitelist"James Wahlin2018-02-121-9/+3
| | | | This reverts commit d6ad188cd77fb4fcd155cf2c9165fad9e6f2c589.
* SERVER-33221 Add find & getMore commands to session checkout whitelistJames Wahlin2018-02-091-3/+9
|
* SERVER-33124 Remove mmapv1 dependency from embedded.Henrik Edin2018-02-081-1/+1
| | | | New shim libraries to check fsync write lock and repair database on mmapv1 to break dependency chain.
* SERVER-32958 small changes to remaining Command member signatures.Billy Donahue2018-02-011-4/+13
|
* SERVER-18971 log command success/failureKevin Pulo2018-02-011-42/+12
|
* SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Billy Donahue2018-01-311-13/+9
| | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
* Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Judah Schvimer2018-01-311-9/+13
| | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
* SERVER-32958 slaveOk,slaveOverrideOk replacementBilly Donahue2018-01-311-13/+9
| | | | declare read_preference dep. update service_entry_opint_embedded
* SERVER-32463 Remove FCV dependent miscellaneous sharding codeJack Mulrow2018-01-231-3/+1
|
* SERVER-32517 Parse readConcern snapshot and atClusterTimeTess Avitabile2018-01-231-17/+14
|
* SERVER-32463 Remove FCV dependent causal consistency codeJack Mulrow2018-01-191-35/+24
|
* SERVER-32587 Convert StaleConfigException to use ErrorExtraInfoMathias Stearn2018-01-171-41/+12
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-11/+13
|
* SERVER-32484 CommandRegistryBilly Donahue2018-01-101-1/+1
|
* SERVER-21710 Add ability to kill pinned cursors on mongodIan Boros2018-01-101-2/+2
|
* SERVER-31941 Disallow retryable writes in storage engines that do not ↵Jack Mulrow2017-11-171-5/+6
| | | | support document-level locking
* SERVER-31296 Update sessions, causal, and retryable in the mongo shell.Max Hirschhorn2017-11-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removes the initialClusterTime and initialOperationTime session options. * Enables causal consistency by default when using an explicit session. * Adds a --retryWrites command line option to the mongo shell for enabling retryable writes in the mongo shell. The retryWrites options to SessionOptions is left for convenience with testing. * Renames setClusterTime() to advanceClusterTime(), and adds a corresponding advanceOperationTime() method to DriverSession. * Enables assigning transaction numbers for write commands where ordered=false. * Prevents the mongo shell from sending afterClusterTime or assigning transaction numbers when talking to a stand-alone mongod. * Prevents the mongo shell from assigning transaction numbers when using an unacknowledged (w=0) writeConcern. * Changes DBClientRS to re-discover the current primary of the replica set when it receives an error code representing "not master" in addition to an error message representing "not master". * Adds a shellPrint() pretty-printer for SessionOptions and DriverSession instances so they no longer print out their entire object definition.
* SERVER-31613 disallow afterClusterTime on some commandsMisha Tyulenev2017-10-261-1/+2
|
* SERVER-31608 remove FCV gettersJudah Schvimer2017-10-261-5/+10
|
* SERVER-31306 include clusterTime and operationTime in all errorsMisha Tyulenev2017-10-241-6/+45
|