summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/snapshot_management.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-50998 Remove getClusterTimeForReplicaSet()Kevin Pulo2020-09-171-1/+2
|
* SERVER-48433 Remove LogicalClock facadeKevin Pulo2020-09-171-2/+2
|
* SERVER-48084 Lint log lines in mongo/db/commandsSara Golemon2020-05-131-2/+0
|
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-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-37651 Update header files with new licenseRamon Fernandez2018-10-221-9/+11
|
* SERVER-34653 MONGO_REGISTER_TEST_COMMANDBilly Donahue2018-05-161-9/+2
|
* SERVER-34628 Really remove appendCommandStatusMathias Stearn2018-05-081-5/+3
| | | | | | | | | | 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-34751 Replace getGlobalStorageEngine cals with getStorageEngine.Andy Schwerin2018-05-031-4/+2
|
* SERVER-34580 Plumb commit time to commit handlers when availableJudah Schvimer2018-05-031-2/+2
|
* SERVER-33674 Require GlobalLocks with deadlines to specify interrupt ↵Louis Williams2018-04-301-2/+2
| | | | behavior when interrupted
* SERVER-33889 Split dcommands and core into libraries for embedded vs ↵Henrik Edin2018-03-231-0/+1
| | | | standalone process applications. Refactored commands libraries throughout the codebase and made their uses be LIBDEPS_PRIVATE when possible as most commands don't export any symbols and don't even have headerfiles.
* SERVER-33892 Separate test_commands_enabled libraryBilly Donahue2018-03-141-1/+1
|
* SERVER-33318 simplify oldest_timestamp settingEric Milkie2018-03-051-7/+5
|
* SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵Henrik Edin2018-02-141-2/+2
| | | | getting interfaces without using global get function.
* SERVER-32682 Use deadline-oriented mechanism for lock timeoutXiangyu Yao2018-02-091-2/+2
|
* SERVER-32682 Change GlobalLock timeout type to MillisecondsXiangyu Yao2018-02-091-2/+2
|
* SERVER-33136 const-ify the command auth accessorsBilly Donahue2018-02-061-2/+2
|
* SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Billy Donahue2018-01-311-4/+4
| | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
* Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Judah Schvimer2018-01-311-4/+4
| | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
* SERVER-32958 slaveOk,slaveOverrideOk replacementBilly Donahue2018-01-311-4/+4
| | | | declare read_preference dep. update service_entry_opint_embedded
* SERVER-32958 Command::help() returns std::stringBilly Donahue2018-01-301-4/+4
|
* SERVER-32284 rename ReplicationCoordinator::reserveSnapshotName() to ↵Benety Goh2018-01-171-1/+2
| | | | getMinimumVisibleSnapshot()
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-3/+5
|
* SERVER-31304: Refactor away SnapshotName.Daniel Gottlieb2017-11-211-3/+4
|
* SERVER-30638 change setReadFromMajorityCommittedSnapshot to use timestamps ↵Eric Milkie2017-10-051-3/+1
| | | | instead of named snapshots
* SERVER-28620 Adorn all oplog writes with timestampsEric Milkie2017-08-221-1/+1
| | | | | | | These timestamps are now used to implement oplog visibility rules, in place of the current in-memory vector of uncommitted ops that the WiredTiger glue code currently uses. This change also introduces a TimestampedBSONObj class, which encapsulates a BSONObject with its associated write timestamp.
* SERVER-29731 get errmsg out of BasicCommand apiMathias Stearn2017-07-131-2/+0
| | | | It is now only used by commands deriving from ErrmsgCommandDeprecated.
* SERVER-29731 convert all direct subclasses of Command to BasicCommandMathias Stearn2017-07-131-4/+4
|
* SERVER-29260 Make BSONObj argument to Command::run() const&Mathias Stearn2017-05-171-2/+2
|
* SERVER-28701 Remove queryOptions argument from Command::run()Mathias Stearn2017-04-121-2/+0
|
* SERVER-22541 Refactor RAII locking helpers.Charlie Swanson2017-03-151-4/+3
| | | | | | | | | Removes the class 'ScopedTransaction' and moves the responsibility of abandoning the snapshot onto the GlobalLock class. Also renames the AutoGetCollectionForRead class to AutoGetCollectionForReadCommand, and adds a new AutoGetCollectionForRead class. Unlike AutoGetCollectionForReadCommand, this new class will not update the namespace on the CurrentOp object, nor will it add an entry to Top.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-9/+10
| | | | | | 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-25488 merge ClientBasic and ClientKyle Suarez2016-08-081-2/+2
|
* SERVER-20224 commands that write support writeConcernJudah Schvimer2016-04-121-0/+6
|
* SERVER-23024 remove isWriteCommandForConfigServer methodMisha Tyulenev2016-03-151-6/+0
|
* SERVER-18022 Fix places relying on old $readMajorityTemporaryNameMathias Stearn2015-08-281-1/+1
|
* SERVER-19212 Make w:majority wait for any reserved snapshots to be visibleMathias Stearn2015-08-121-1/+1
| | | | | | | This ensures that when a w:majority write that makes a new collection returns, a reader with readConcern:majority can immediately read the collection. If this isn't done, the reader could get a snapshot before the minimum snapshot for the collection and error out.
* SERVER-19212 Hide indexes and collections from stale majority concern readsMathias Stearn2015-08-121-3/+6
| | | | | | | | | Reading from a collection will error out if the snapshot used by the query is older than the collection creation or the point when the last index was dropped from a collection. New indexes do not cause reads to fail, but reads cannot use the new indexes since they may be incomplete in the snapshot.
* SERVER-19212 Assign simple unique counter to each snapshotMathias Stearn2015-08-051-2/+2
| | | | | Allows distinguishing snapshots created with the same OpTime as needed for background index builds.
* SERVER-18022 Read Majority Committed implementation for primary nodesMathias Stearn2015-06-291-0/+141