summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-41163 apply operations separately during initial sync commit ↵Pavi Vetriselvan2019-06-191-3/+7
| | | | transaction oplog application
* SERVER-39338 Remove `stdx/functional.h`ADAM David Alan Martin2019-06-101-5/+5
|
* SERVER-36538: Create idempotency tests for prepare, commit, and abort oplog ↵Lingzhi Deng2019-04-251-5/+5
| | | | entries
* SERVER-39950 remove SyncTail::tryPopAndWaitForMore() and _consume()Benety Goh2019-04-071-18/+0
|
* SERVER-39950 SyncTail::oplogApplication() accepts ↵Benety Goh2019-04-061-4/+4
| | | | OplogApplier::GetNextApplierBatchFn
* SERVER-38297 Cleanup SyncTail and OplogApplierImplKaloian Manassiev2019-03-131-0/+8
|
* SERVER-35872 reconstruct prepared transactions on rollback, fastcount inaccuratePavi Vetriselvan2019-02-221-1/+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-36489 Start initial sync oplog fetching from the 'oldest active ↵Samy Lanka2019-02-111-1/+15
| | | | | | | transaction timestamp' SERVER-36490 Initial sync should not actually prepare transactions on applying prepareTransaction oplog entries SERVER-36491 During initial sync, make commitTransaction oplog entries apply the transaction from the prepare oplog entry
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35343 SyncTail::fetchAndInsertMissingDocument() no longer returns a boolBenety Goh2018-06-131-2/+3
|
* SERVER-32935 log exception during oplog applicationBenety Goh2018-06-051-0/+4
| | | | | This change uses the terminate handler to log unexpected exceptions thrown inside SyncTail::oplogApplication().
* SERVER-32335 move SyncTail::calculateBatchLimitBytes to OplogApplierBenety Goh2018-05-311-8/+0
|
* SERVER-32335 move SyncTail::replBatchLimitBytes to OplogApplierBenety Goh2018-05-311-5/+0
|
* SERVER-32335 move SyncTail::replBatchLimitOperations to OplogApplierBenety Goh2018-05-311-5/+0
|
* SERVER-32335 move SyncTail::makeWriterPool to OplogApplierBenety Goh2018-05-311-6/+0
|
* SERVER-32335 remove multiInitialSyncApplyBenety Goh2018-05-301-8/+3
| | | | Replaces calls to SyncTail::multiApply with OplogApplier::multiApply
* SERVER-32335 replace SyncTail::setHostname with OplogApplier optionBenety Goh2018-05-251-4/+3
|
* SERVER-32335 make SyncTail::OpQueue accept the maximum number of ops in a batch.Benety Goh2018-05-091-2/+2
| | | | | This makes it unnecessary to reference the static variable replBatchLimitOperations at construction.
* SERVER-32335 move BatchLimits from SyncTail to OplogApplierBenety Goh2018-05-091-13/+1
|
* SERVER-32334 make calculateBatchLimitBytes a static function of SyncTailBenety Goh2018-05-091-0/+8
|
* SERVER-34900 BatchLimits construction should not reference SyncTail runtime ↵Benety Goh2018-05-091-2/+6
| | | | server parameters
* SERVER-34900 make batch limit byte and operation count defaults publicBenety Goh2018-05-091-5/+10
|
* SERVER-34900 remove unused constant SyncTail::replBatchLimitSecondsBenety Goh2018-05-091-1/+0
| | | | Last reference to this constant was removed in commit b06901cd83b2a985aa50f9a699f3d63dcd28476d.
* SERVER-32334 SyncTail accepts optional OplogApplier::OptionsBenety Goh2018-05-041-0/+14
|
* SERVER-32334 move static SyncTail functions to above constructorsBenety Goh2018-05-041-15/+15
|
* SERVER-32334 OplogApplier and SyncTail accept ReplicationConsistencyMarkers ↵Benety Goh2018-05-021-1/+9
| | | | and StorageInterface at construction
* SERVER-32335 multiInitialSyncApply stops accepting fetchCountBenety Goh2018-03-201-1/+0
| | | | | | | Callers wishing to track the documents fetched during initial sync should provide an OplogApplier::Observer. This allows us to pass this function to SyncTail without wrapping it in a lambda.
* SERVER-33919 remove SyncTail::syncApply() overloadBenety Goh2018-03-191-39/+0
|
* SERVER-33860 remove multiSyncApply_noAbortBenety Goh2018-03-141-11/+0
|
* SERVER-33860 multiSyncApply_noAbort always applies operation using ↵Benety Goh2018-03-141-2/+1
| | | | SyncTail::syncApply()
* SERVER-32332 decouple BackgroundSync from SyncTailBenety Goh2018-03-131-8/+40
| | | | | | | | Explicit shutdown() functions for SyncTail and RSDataSync. BackgroundSync implements OplogApplier::Observer. OplogBuffer for steady state replication is now cleared in ReplicationCoordinatorExternalStateImpl::shutdown() between shutting down and joining BackgroundSync/SyncTail.
* SERVER-33732 remove repl::multiApply. Use SyncTail::multiApply insteadBenety Goh2018-03-121-16/+10
|
* SERVER-33732 extend SyncTail::MultiSyncApplyFunc to return a StatusBenety Goh2018-03-121-8/+9
|
* SERVER-33732 extend SyncTail::MultiSyncApplyFunc to accept an OperationContextBenety Goh2018-03-091-14/+6
|
* SERVER-33732 SyncTail no longer owns its writer thread poolBenety Goh2018-03-081-6/+20
| | | | | This brings the ownership contract between SyncTail and the writer thread pool closer to that between repl::multiApply() and its ThreadPool argument.
* SERVER-33732 remove SyncTail::multiApply_forTest()Benety Goh2018-03-081-6/+3
| | | | make SyncTail::multiApply() pass through results from repl::multiApply()
* SERVER-33625 replace OldThreadPool in SyncTail with ThreadPoolBenety Goh2018-03-061-11/+6
|
* SERVER-33675 move multikey tracking from multiSyncApply to ↵Benety Goh2018-03-051-0/+1
| | | | multiSyncApply_noAbort
* SERVER-33290 secondaries must set multikey before releasing parallel batch ↵Judah Schvimer2018-02-161-16/+10
| | | | writer mutex
* SERVER-32206 timestamp catalog change to declare index multikeyJudah Schvimer2018-02-021-3/+18
|
* SERVER-29200 migrate SyncTail::getMissingDoc() and ↵Benety Goh2018-01-161-2/+3
| | | | fetchAndInsertMissingDoc() to accept OplogEntry instead of BSONObj
* SERVER-29200 add OplogEntry::getRawObjSizeBytes()Benety Goh2018-01-161-1/+1
| | | | remove references to OplogEntry::raw from SyncTail::OpQueue and InitialSyncer
* SERVER-31387 oplog application conflates upserting with being in steady ↵Judah Schvimer2017-10-301-14/+16
| | | | state replication
* SERVER-27581 Only fetch missing documents on update oplog entries during initialJudah Schvimer2017-07-111-3/+6
| | | | sync
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-13/+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-25932 Make MONGO_EXPORT_SERVER_PARAMETER use AtomicWord instead of ↵Mark Benvenuto2017-01-051-2/+2
| | | | std::atomic
* SERVER-26572 move fetchCount to DataReplicatorJudah Schvimer2016-10-261-15/+5
|
* SERVER-26572 Reset stopTimestamp in DataReplicator when initial sync apply ↵Judah Schvimer2016-10-191-1/+14
| | | | phase tries to fetch a remote document
* SERVER-26117 renameCollection 'c' op should restart initial sync upon ↵Siyuan Zhou2016-09-261-6/+10
| | | | application