summaryrefslogtreecommitdiff
path: root/src/mongo/db/write_concern.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-46067 Replicate Before Journaling interface changesDianna Hohensee2020-02-121-6/+5
| | | | | | | | | flushAllFiles takes callerHoldsReadLock in order to skip taking a write lock to update the truncate point. waitUntilDurable takes skipJournalListenerUpdate to know to skip updating the truncate point. getToken takes a defer_lock and opCtx so collection locks can be locked prior to locking the mutex. Remove inactive 'async' field from fsync command. Put explicit dummy value for inactive (since MMAP) 'numFiles' result field in fsync command. Put explicit dummy value for inactive (since MMAP) 'fsyncFiles' result field in write concern.
* SERVER-46095 Must wrap WriteConcernOptions::SyncMode::JOURNAL w/ ↵Dianna Hohensee2020-02-121-0/+9
| | | | repl::ReplicationCoordinator::Mode::modeReplSet waitForWriteConcern specially with DurableTimestsamp updates for inMemory engine.
* SERVER-45665 Make JournalFlusher flush on command and waitForWriteConcern ↵Dianna Hohensee2020-02-051-10/+2
| | | | | | asynchronously call waitUntilDurable through the JournalFlusher. Making waitForWriteConcern asynchronously call waitUntilDurable is a performance gain.
* SERVER-45098 test that RWC defaults are correctly applied to commandsKevin Pulo2020-01-161-1/+4
|
* SERVER-45476 Don't consider applying RWC defaults on standalonesKevin Pulo2020-01-151-0/+1
|
* SERVER-44538 Add read/write concern fields to logging/profilingKevin Pulo2019-12-201-2/+23
|
* SERVER-43713 SERVER-43715 Create DistCache abstraction, use it in ↵Kevin Pulo2019-12-091-1/+1
| | | | ReadWriteConcernDefaults
* SERVER-43126 Basic replset CWRWC passthrough suitesKevin Pulo2019-11-261-0/+2
|
* SERVER-43123 SERVER-43124 Use ReadWriteConcernDefaults for incoming mongod ↵Kevin Pulo2019-10-211-4/+18
| | | | requests
* SERVER-43769: Only get the default write concern from ReplSetConfig if no ↵Lingzhi Deng2019-10-051-2/+12
| | | | write concern is specified
* SERVER-43317 merge failpoint headers. Rewrite docs.Billy Donahue2019-10-031-1/+1
| | | | iterate docs
* SERVER-43252: Only compute WriteConcernResult.writtenTo for CmdGetLastErrorLingzhi Deng2019-10-031-6/+1
|
* SERVER-43119 FailPoint cleanupBilly Donahue2019-09-101-1/+1
| | | | | | | | | | | - Don't use MONGO_INITIALIZER to declare each fail point. We only need one init task in total: freeze and iterate the registry. - remove MONGO_FAIL_POINT_DECLARE macro (extern) - remove MONGO_FAIL_POINT_SHOULD_FAIL macro (FailPoint::shouldFail) - remove MONGO_FAIL_POINT_BLOCK_IF (FailPoint::executeIf) - remove MONGO_FAIL_POINT_BLOCK (FailPoint::execute) - clean up FailPointRegistry and fail_point_service implementation.
* SERVER-42221 Add concurrency control to checkpoint requests and expose it to ↵Dianna Hohensee2019-08-231-3/+3
| | | | the validation cmd code layer
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-1/+1
|
* SERVER-40228 Refactor OpTimeAndWallTime into new structMaria van Keulen2019-03-211-0/+1
|
* SERVER-40080 report last applied and last durable wall clock timesMaria van Keulen2019-03-191-2/+2
|
* 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-38978 coordinateCommitTransaction should send abortTransaction over ↵Esha Maharishi2019-01-241-1/+2
| | | | the loopback
* SERVER-37856 Fix coverity analysis defect 105090: Wrong operator usedEsha Maharishi2018-12-051-3/+3
|
* SERVER-34212 Config servers should only upconvert writeConcern to majority ↵Esha Maharishi2018-10-221-8/+8
| | | | for requests on internal connections
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35275 rename fail point FP macros, improve docsBilly Donahue2018-05-301-1/+1
|
* SERVER-34751 Replace getGlobalStorageEngine cals with getStorageEngine.Andy Schwerin2018-05-031-2/+2
|
* SERVER-33355 Support readConcern level snapshot reads on secondariesJames Wahlin2018-03-031-7/+4
|
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Nick Zolnierz2018-03-021-1/+1
| | | | | | decoration through service context (global if needed). This reverts commit a8fddd07a740e959646995ef93139887b3b3eb5c.
* Revert "SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when ↵Nick Zolnierz2018-03-021-1/+1
| | | | | | getting decoration through service context (global if needed)." This reverts commit 7d37a75df3f6035a7afcb51123b88f0e99308fc8.
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Henrik Edin2018-03-021-1/+1
| | | | decoration through service context (global if needed).
* SERVER-31184 Cleanup usages of global service context objectsKaloian Manassiev2017-10-101-4/+5
| | | | Also cleans up some formatting, no functional changes.
* SERVER-28269 Set _canAcceptNonLocalWrites at the end of signalDrainComplete()Matthew Russotto2017-09-061-1/+4
|
* SERVER-28641 remove requirement that non-internal writes against config ↵Esha Maharishi2017-04-061-15/+0
| | | | servers must use writeConcern 'majority'
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-15/+15
| | | | | | 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-18410: Replace RWLock with OperationContext/LockManagerDaniel Gottlieb2017-03-021-1/+1
|
* revert "SERVER-18410: Replace RWLock with OperationContext/LockManager"Daniel Gottlieb2017-02-261-1/+1
| | | | This reverts commit 9c9bbf3318113cfdd4d9b72f493b6ebd23f1837e.
* SERVER-18410: Replace RWLock with OperationContext/LockManagerDaniel Gottlieb2017-02-241-1/+1
|
* SERVER-27176 Improve performance of command writeConcern parsingJames Wahlin2016-12-061-8/+6
|
* SERVER-27053 Don't acknowledge writes if the term has changed.Spencer T Brody2016-11-171-0/+5
|
* SERVER-25915 Log when waiting for write concernSpencer T Brody2016-08-311-1/+3
|
* SERVER-25204 Allow writeConcern w:1 for 'local' on CSRS config serversKaloian Manassiev2016-07-251-6/+5
|
* SERVER-24939 Pull read concern extract, check and wait to separate utilityKaloian Manassiev2016-07-081-1/+1
|
* SERVER-24858 Tighten assertions around waiting for write concernKaloian Manassiev2016-07-081-91/+51
|
* SERVER-24701 Add option to set writeConcern for ShardingCatalogClient write opsRandolph Tan2016-06-241-2/+7
|
* SERVER-24570 Fix overeager dassert in WriteConcernResult::appendToGeert Bosch2016-06-151-1/+2
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-3/+5
|
* SERVER-22694 removed setupSynchronousCommit() and goingToWaitUntilDurable()Judah Schvimer2016-04-251-10/+0
|
* SERVER-23268 remove CatalogManager::ConfigServerMode::SCCCMisha Tyulenev2016-04-211-11/+2
|
* SERVER-20224 commands that write support writeConcernJudah Schvimer2016-04-121-27/+21
|
* SERVER-22663 Remember --shardsvr settingRandolph Tan2016-03-231-1/+1
|
* SERVER-22276 SERVER-22277 implement "j" flag in write concern apply to ↵matt dannenberg2016-02-041-27/+35
| | | | secondary as well as primary
* SERVER-21604 v3.0 mongos fails to ping config.mongos if config servers are v3.2Randolph Tan2015-11-251-4/+17
|