summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_external_state_mock.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* SERVER-32517 Parse readConcern snapshot and atClusterTimeTess Avitabile2018-01-231-0/+1
|
* SERVER-31304: Refactor away SnapshotName.Daniel Gottlieb2017-11-211-1/+1
|
* SERVER-30638 change setReadFromMajorityCommittedSnapshot to use timestamps ↵Eric Milkie2017-10-051-2/+0
| | | | instead of named snapshots
* SERVER-31330 Prevent stepdown during drain mode from triggering an invariantSpencer T Brody2017-10-041-0/+3
|
* SERVER-29693 wait for all oplog writes to be visible for afterClusterTime ↵Eric Milkie2017-08-221-0/+1
| | | | and readConcern level local
* 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-29893 Rename recovery code and make it accessible to both startup and ↵Judah Schvimer2017-08-101-1/+0
| | | | rollback
* Revert "SERVER-29893 Rename recovery code and make it accessible to both ↵Mathias Stearn2017-08-071-0/+1
| | | | | | startup and rollback" This reverts commit 8fa770baf8fac6e71a45f84b48eeb3bae96a8dab.
* SERVER-29893 Rename recovery code and make it accessible to both startup and ↵Judah Schvimer2017-08-071-1/+0
| | | | rollback
* SERVER-29275 ↵Benety Goh2017-05-191-1/+1
| | | | ReplicationCoordinatorExternalState::notifyOplogMetadataWaiters() accepts last committed optime
* SERVER-28719 Use a rescheduling fail point instead of blocking on a ↵Andy Schwerin2017-04-101-10/+0
| | | | condition variable in some unit tests.
* SERVER-26772 removed old initial sync codeJudah Schvimer2017-03-161-3/+0
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-22/+22
| | | | | | 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-27120 Increase synchronization between producer/applier threads and ↵Siyuan Zhou2017-02-271-7/+2
| | | | | | stepdown/stepup SERVER-27913 Make sure the last applied hash is corresponding to the last applied optime in bgsync start()
* SERVER-27828: Pass ServiceContext to oplog and ReplicationCoordinator ↵Misha Tyulenev2017-02-081-2/+2
| | | | methods that will use LogicalClock
* SERVER-27807 synchronize creating a snapshot with its registration in replcoordEric Milkie2017-01-251-0/+1
| | | | | | | This commit prevents a race between creating a snapshot in the storage engine and registering it in the replication coordinator. The replication coordinator maintains a vector of outstanding snapshots, and it needs to stay in sync with the actual snapshots in the storage engine. The replication coordinator mutex is used to ensure this synchronization.
* SERVER-26572 move fetchCount to DataReplicatorJudah Schvimer2016-10-261-3/+3
|
* SERVER-26572 Reset stopTimestamp in DataReplicator when initial sync apply ↵Judah Schvimer2016-10-191-2/+3
| | | | phase tries to fetch a remote document
* SERVER-26640 remove flag for linearizable read supportBenety Goh2016-10-141-1/+0
| | | | | | Revert "SERVER-26169 added startup parameter for linearizable read support defaulting to disabled" This reverts commit 7f6eb7f2361addf3f75308bf1603caa8cdc71b68.
* SERVER-26169 added startup parameter for linearizable read support ↵Benety Goh2016-09-281-0/+1
| | | | defaulting to disabled
* SERVER-25702 added server parameter for oplog fetcher max fetcher restartsBenety Goh2016-09-221-0/+1
|