summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_external_state_mock.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-53123 Delete unused _stopDataReplicationMoustafa Maher2020-12-151-1/+0
|
* SERVER-51265 Change local funs/vars to use hello/secondary in replCoord and ↵Pavi Vetriselvan2020-11-181-1/+1
| | | | topCoord
* SERVER-50320 Fix cancellation races in initial syncerMatthew Russotto2020-09-161-0/+1
|
* SERVER-50168 Stop clearing current committed snapshot after rollbackTess Avitabile2020-09-021-1/+1
|
* SERVER-45685 Remove unused function parameter from ↵PV992020-06-301-1/+1
| | | | ReplicationCoordinatorExternalStateImpl::startThreads
* SERVER-48610 move ReplicaSetAwareService callbacks into the ↵Kevin Pulo2020-06-151-1/+0
| | | | ReplicationCoordinator (instead of its external state)
* SERVER-48406 Add onBecomeArbiter to ReplicaSetAwareServiceKevin Pulo2020-05-281-0/+1
|
* SERVER-46721 Secondary readers should read at the no-overlap time instead of ↵Louis Williams2020-05-121-1/+1
| | | | | | | | lastApplied The no-overlap time, ReadSource::kNoOverlap, is the minimum of replication's lastApplied timestamp and WiredTiger's all_durable time. This time is independent of replication state and ensures queries do not see oplog holes after state transitions from secondary to primary.
* SERVER-47515 Avoid finding self on replica set reconfig if config contents ↵William Schultz2020-04-281-0/+6
| | | | have not changed
* SERVER-47142 Check primary before writing config and no-op.Siyuan Zhou2020-04-171-1/+3
|
* SERVER-46201 add ReplicaSetAwareService, convert Balancer to use itKevin Pulo2020-03-241-2/+1
|
* SERVER-46984 Stop async updates to the oplogTruncateAfterPoint during ↵Dianna Hohensee2020-03-201-1/+1
| | | | primary shutdown that can race with clearing the oplogTruncateAfterPoint for primary clean shutdown.
* SERVER-41333 Make safer for initial Sync and Shutdown to write the minValid ↵Suganthi Mani2020-01-161-0/+1
| | | | document at the lastApplied.
* SERVER-41391 clear the oplogTruncateAfterPoint timestamp on stepdown after ↵Dianna Hohensee2019-11-051-0/+1
| | | | there are no more active writes
* SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in ↵Ben Caimano2019-10-211-1/+1
| | | | | | | | | | | Interruptible and Mutex This commit: - Adds Listener hooks for Interruptible - Expands Listener hooks for Mutex - Updates the DiagnosticInfo and its tests to use the new hooks - Removes stacktracing pieces from DiagnosticInfo and its tests - Removes mongo::ConditionVariable entirely in favor of Interruptible
* Revert SERVER-42996 Move ApplierState to OplogApplierMihai Andrei2019-10-091-4/+0
|
* SERVER-42996 Move ApplierState to OplogApplierMihai Andrei2019-10-081-0/+4
|
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-3/+4
|
* SERVER-29803 Add replSetGetStatus field tooStaleA. Jesse Jiryu Davis2019-07-101-0/+1
|
* SERVER-42055 Only acquire a collection IX lock to write the lastVote documentMatthew Russotto2019-07-081-0/+5
|
* SERVER-40737 Use epoch as default OpTimeAndWallTime wallTime valueMaria van Keulen2019-06-111-1/+1
|
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-2/+4
| | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done
* SERVER-40228 Refactor OpTimeAndWallTime into new structMaria van Keulen2019-03-211-2/+1
|
* SERVER-40080 report last applied and last durable wall clock timesMaria van Keulen2019-03-191-2/+5
|
* 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-35663 Always update the logical clock before advancing the last ↵Jack Mulrow2019-01-171-0/+2
| | | | applied opTime
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35870 Add RAII object for handling lock acquisitions during stepdown.Spencer T Brody2018-09-241-1/+0
|
* SERVER-35821 readConcern:snapshot transactions need a read timestamp <= WT's ↵Matthew Russotto2018-09-141-0/+1
| | | | all_committed point
* SERVER-37048 Hold global intent lock whenever accessing the oplog collection ↵Spencer T Brody2018-09-101-1/+0
| | | | pointer
* SERVER-36050 Remove isV1ElectionProtocol() check.Suganthi Mani2018-07-271-1/+1
|
* SERVER-35112 Remove MMAPv1 codeGeert Bosch2018-07-061-1/+0
|
* SERVER-35200 Speed up steady state oplog fetching failure detectionWilliam Schultz2018-07-061-1/+2
| | | | | | | | | | | This patch attempts to improve how quickly a secondary node in steady state replication detects that its current sync source has failed or become partitioned and tries to select a new sync souce. The speed of this process can significantly impact how long it takes for a new primary to begin committing majority writes after a previous primary has failed or become partitioned from the replica set. This patch improves on the old behavior by reducing the number of fetcher restarts to 1, and also reducing the oplog 'find' request timeout used on a restart.
* SERVER-35217 Do not kill associated client cursors when transaction endsTess Avitabile2018-06-081-1/+0
|
* SERVER-34102 Fix to prevent race between _handleTimePassing (stepdown ↵Suganthi Mani2018-05-241-0/+6
| | | | timeout) and _startElectSelfIfEligibleV1 (election timeout) for pv1 single node replica set case.
* SERVER-32335 remove unused function ↵Benety Goh2018-05-161-1/+0
| | | | ReplicationCoordinatorExternalState::getInitialSyncBatchLimits()
* SERVER-34900 add ↵Benety Goh2018-05-091-0/+1
| | | | ReplicationCoordinatorExternalState::getInitialSyncBatchLimits()
* SERVER-34372 add ↵Benety Goh2018-04-171-0/+1
| | | | ReplicationCoordinatorExternalState::getEarliestDropPendingOpTime()
* SERVER-33690 Transaction abort and commit should kill any associated client ↵James Wahlin2018-04-161-0/+1
| | | | cursors
* SERVER-34192 Allow secondary reads during batch applicationsLouis Williams2018-04-131-0/+1
|
* SERVER-32335 remove unused initial sync functions from ↵Benety Goh2018-03-221-7/+0
| | | | ReplicationCoordinatorExternalState
* SERVER-32335 remove unused initial sync functions from ↵Benety Goh2018-03-221-6/+0
| | | | | | | | | DataReplicatorExternalState and ReplicationCoordinatorExternalState remove MultiApplier::ApplyOperationFn argument from ReplicationCoordinatorExternalState::multiApply remove unused ApplyOperationFn argument from DataReplicatorExternalState::multiApply remove unused function ReplicationCoordinatorExternalState::multiInitialSyncApply remove unused function DataReplicatorExternalState::_multiInitialSyncApply
* SERVER-32335 extend InitialSyncer external state function multiApply ↵Benety Goh2018-03-221-1/+4
| | | | | | function to accept ThreadPool, sync source and OplogApplier::Observer This commit has no functional changes.
* SERVER-31802 Rip out more dead master-slave code, and the related concept of ↵Andy Schwerin2018-03-151-1/+0
| | | | RID.
* SERVER-31802 SERVER-31239 Remove master-slave replication and resync command.Andy Schwerin2018-03-131-1/+0
|
* SERVER-32332 remove makeSteadyStateOplogBuffer() from ↵Benety Goh2018-03-121-2/+0
| | | | ReplicationCoordinatorExternalState and DataReplicatorExternalState interfaces
* SERVER-33732 extend SyncTail::MultiSyncApplyFunc to accept an OperationContextBenety Goh2018-03-091-1/+2
|
* SERVER-33625 replace use of OldThreadPool in cloners and TaskRunner with ↵Benety Goh2018-03-061-1/+1
| | | | ThreadPool
* SERVER-33290 secondaries must set multikey before releasing parallel batch ↵Judah Schvimer2018-02-161-1/+2
| | | | writer mutex
* SERVER-33290 Remove ReplicationCoordinatorExternalState::multiSyncApplyJudah Schvimer2018-02-141-1/+0
|