summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl_elect_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-32144 Remove test coverage for replication protocol version 0Vesselina Ratcheva2018-03-131-651/+0
| | | | This reverts commit c5a4250a649ab0afb4ecdf227d4a0400f9e68786.
* Revert "SERVER-32144 Remove test coverage for replication protocol version 0"Vesselina Ratcheva2018-03-091-0/+651
| | | | This reverts commit d05e04551b7e399a5554858de48541ae11988b10.
* SERVER-32144 Remove test coverage for replication protocol version 0Vesselina Ratcheva2018-03-091-651/+0
|
* SERVER-30626 Replace class TopologyCoordinator::Role with enum class for ↵Matthew Russotto2017-11-281-6/+6
| | | | simplicity.
* SERVER-30626 Remove TopologyCoordinator interface.Matthew Russotto2017-11-281-1/+1
|
* SERVER-31330 Prevent stepdown during drain mode from triggering an invariantSpencer T Brody2017-10-041-5/+5
|
* SERVER-28545 Do not wait for election to finish while holding global lockSpencer T Brody2017-06-281-3/+5
|
* SERVER-28545 Change ReplicationCoordinator::setFollowerMode to return a ↵Spencer T Brody2017-06-281-12/+12
| | | | Status instead of a bool
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-9/+11
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-28545 don't schedule setFollowerMode on ReplicationExecutorJudah Schvimer2017-04-241-5/+1
|
* SERVER-28848 Change ReplicationCoordinatorImpl unit tests so as not to rely ↵Andy Schwerin2017-04-181-4/+6
| | | | on execution ordering characteristics of ReplicationExecutor.
* SERVER-28624 Replace references to ReplicationExecutor with TaskExecutor.Andy Schwerin2017-04-181-2/+4
| | | | | | | This change replaces, wherever possible, references to the concrete type ReplicationExecutor with references to the interface type TaskExecutor, and eliminates the repl::ResponseStatus typedef, with an eye toward eventually replacing ReplicationExecutor with another implementation.
* SERVER-28719 Use a rescheduling fail point instead of blocking on a ↵Andy Schwerin2017-04-101-3/+7
| | | | condition variable in some unit tests.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-17/+17
| | | | | | 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-27995 make repl_set* naming convention consistentJudah Schvimer2017-03-061-8/+8
|
* SERVER-28110 Set secondaryCatchUpPeriodSecs smaller when requesting remote ↵Siyuan Zhou2017-03-021-0/+1
| | | | primary stepdown
* SERVER-27120 Increase synchronization between producer/applier threads and ↵Siyuan Zhou2017-02-271-4/+4
| | | | | | stepdown/stepup SERVER-27913 Make sure the last applied hash is corresponding to the last applied optime in bgsync start()
* SERVER-23243 Remove time-keeping from listenerWaley Chen2016-06-131-4/+4
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-68/+108
|
* SERVER-23095 Remove direct instantiations of OperationContextReplMockAndy Schwerin2016-05-241-3/+6
| | | | This facilitates unifying checkForInterrupt's implementation into OperationContext.
* SERVER-22995 Protect TopoCoord with mutex rather than single thread executor.Siyuan Zhou2016-04-121-0/+8
| | | | | Move scatter gather runner out of executor and protect the runner with its own mutex. Replace onComplete with callbacks scheduled on finish event.
* SERVER-22913 create SyncSourceResolvermatt dannenberg2016-03-071-36/+6
|
* SERVER-22444 cancel outstanding elections prior to accept new configmatt dannenberg2016-02-101-0/+86
|
* SERVER-22276 SERVER-22277 implement "j" flag in write concern apply to ↵matt dannenberg2016-02-041-7/+7
| | | | secondary as well as primary
* SERVER-21096: only record election win in PV1Scott Hernandez2015-11-201-1/+8
|
* SERVER-20977 increased test coverage for replication coordinator implBenety Goh2015-10-301-1/+44
|
* SERVER-20979 added test cases for current node having higher priority than ↵Benety Goh2015-10-231-2/+62
| | | | primary
* SERVER-20956 improve naming of ReplicationCoordinator election unittestsmatt dannenberg2015-10-151-7/+7
|
* SERVER-18498 New replica set configurations have protocolVersion=1 by defaultmatt dannenberg2015-10-011-0/+5
| | | | This re-adds Siyuan's work from commits 19d2885ec51768ab73eee0c7239d8eadc0c51d8d and 362aac3937e3ff39ee995919a529297488537191.
* Revert "SERVER-18498 New replica set configurations have protocolVersion=1 ↵Jason Rassi2015-09-241-5/+0
| | | | | | by default" This reverts commit 2c1facf471cce8254e314755c3c7d2fbc753e5f4.
* SERVER-18498 New replica set configurations have protocolVersion=1 by defaultSiyuan Zhou2015-09-231-0/+5
|
* SERVER-19001 Move RemoteCommandRequest/RemoteCommandResponse into ↵Andy Schwerin2015-07-171-0/+2
| | | | | | | task_executor_interface library. Also, move those types into the executor namespace and remove the RemoteCommandRunner interface type.
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-342/+346
|
* SERVER-18623 Split NetworkInterface and StorageInterface out from ↵Spencer T Brody2015-06-041-1/+3
| | | | ReplicationExecutor
* SERVER-18254 unit test prepareHeartbeatResponseV1()matt dannenberg2015-06-021-3/+3
|
* SERVER-18152 SERVER-18254 new election code path and heartbeat protocolmatt dannenberg2015-05-191-3/+3
|
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-131-2/+3
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* SERVER-18217 Change Timestamp to OpTime where appropriate.Siyuan Zhou2015-05-121-5/+5
|
* SERVER-18409 Retry failed heartbeat before marking a node as DOWNmatt dannenberg2015-05-121-0/+7
|
* Revert "SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-1/+1
| | | | | | | | stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error.
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-1/+1
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* SERVER-18353 Move the remote command executor to a separate libraryKaloian Manassiev2015-05-101-7/+5
|
* SERVER-17880 Rename OpTime to TimestampEric Milkie2015-04-071-6/+6
|
* SERVER-15252 unit test ScatterGatherRunnermatt dannenberg2015-02-111-1/+0
|
* SERVER-17176 Fix replication log messages in unit testsSiyuan Zhou2015-02-101-1/+1
|
* SERVER-17017 test two node rs with one voter up can electScott Hernandez2015-02-031-0/+47
|
* SERVER-16764 Make ReplicationCoordinator file names match the type namesSpencer T Brody2015-01-121-0/+360