Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-32144 Remove test coverage for replication protocol version 0 | Vesselina Ratcheva | 2018-03-13 | 1 | -651/+0 |
| | | | | This reverts commit c5a4250a649ab0afb4ecdf227d4a0400f9e68786. | ||||
* | Revert "SERVER-32144 Remove test coverage for replication protocol version 0" | Vesselina Ratcheva | 2018-03-09 | 1 | -0/+651 |
| | | | | This reverts commit d05e04551b7e399a5554858de48541ae11988b10. | ||||
* | SERVER-32144 Remove test coverage for replication protocol version 0 | Vesselina Ratcheva | 2018-03-09 | 1 | -651/+0 |
| | |||||
* | SERVER-30626 Replace class TopologyCoordinator::Role with enum class for ↵ | Matthew Russotto | 2017-11-28 | 1 | -6/+6 |
| | | | | simplicity. | ||||
* | SERVER-30626 Remove TopologyCoordinator interface. | Matthew Russotto | 2017-11-28 | 1 | -1/+1 |
| | |||||
* | SERVER-31330 Prevent stepdown during drain mode from triggering an invariant | Spencer T Brody | 2017-10-04 | 1 | -5/+5 |
| | |||||
* | SERVER-28545 Do not wait for election to finish while holding global lock | Spencer T Brody | 2017-06-28 | 1 | -3/+5 |
| | |||||
* | SERVER-28545 Change ReplicationCoordinator::setFollowerMode to return a ↵ | Spencer T Brody | 2017-06-28 | 1 | -12/+12 |
| | | | | Status instead of a bool | ||||
* | SERVER-27244 Status usage compile-time facilities. | ADAM David Alan Martin | 2017-06-18 | 1 | -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 ReplicationExecutor | Judah Schvimer | 2017-04-24 | 1 | -5/+1 |
| | |||||
* | SERVER-28848 Change ReplicationCoordinatorImpl unit tests so as not to rely ↵ | Andy Schwerin | 2017-04-18 | 1 | -4/+6 |
| | | | | on execution ordering characteristics of ReplicationExecutor. | ||||
* | SERVER-28624 Replace references to ReplicationExecutor with TaskExecutor. | Andy Schwerin | 2017-04-18 | 1 | -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 Schwerin | 2017-04-10 | 1 | -3/+7 |
| | | | | condition variable in some unit tests. | ||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -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 consistent | Judah Schvimer | 2017-03-06 | 1 | -8/+8 |
| | |||||
* | SERVER-28110 Set secondaryCatchUpPeriodSecs smaller when requesting remote ↵ | Siyuan Zhou | 2017-03-02 | 1 | -0/+1 |
| | | | | primary stepdown | ||||
* | SERVER-27120 Increase synchronization between producer/applier threads and ↵ | Siyuan Zhou | 2017-02-27 | 1 | -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 listener | Waley Chen | 2016-06-13 | 1 | -4/+4 |
| | |||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -68/+108 |
| | |||||
* | SERVER-23095 Remove direct instantiations of OperationContextReplMock | Andy Schwerin | 2016-05-24 | 1 | -3/+6 |
| | | | | This facilitates unifying checkForInterrupt's implementation into OperationContext. | ||||
* | SERVER-22995 Protect TopoCoord with mutex rather than single thread executor. | Siyuan Zhou | 2016-04-12 | 1 | -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 SyncSourceResolver | matt dannenberg | 2016-03-07 | 1 | -36/+6 |
| | |||||
* | SERVER-22444 cancel outstanding elections prior to accept new config | matt dannenberg | 2016-02-10 | 1 | -0/+86 |
| | |||||
* | SERVER-22276 SERVER-22277 implement "j" flag in write concern apply to ↵ | matt dannenberg | 2016-02-04 | 1 | -7/+7 |
| | | | | secondary as well as primary | ||||
* | SERVER-21096: only record election win in PV1 | Scott Hernandez | 2015-11-20 | 1 | -1/+8 |
| | |||||
* | SERVER-20977 increased test coverage for replication coordinator impl | Benety Goh | 2015-10-30 | 1 | -1/+44 |
| | |||||
* | SERVER-20979 added test cases for current node having higher priority than ↵ | Benety Goh | 2015-10-23 | 1 | -2/+62 |
| | | | | primary | ||||
* | SERVER-20956 improve naming of ReplicationCoordinator election unittests | matt dannenberg | 2015-10-15 | 1 | -7/+7 |
| | |||||
* | SERVER-18498 New replica set configurations have protocolVersion=1 by default | matt dannenberg | 2015-10-01 | 1 | -0/+5 |
| | | | | This re-adds Siyuan's work from commits 19d2885ec51768ab73eee0c7239d8eadc0c51d8d and 362aac3937e3ff39ee995919a529297488537191. | ||||
* | Revert "SERVER-18498 New replica set configurations have protocolVersion=1 ↵ | Jason Rassi | 2015-09-24 | 1 | -5/+0 |
| | | | | | | by default" This reverts commit 2c1facf471cce8254e314755c3c7d2fbc753e5f4. | ||||
* | SERVER-18498 New replica set configurations have protocolVersion=1 by default | Siyuan Zhou | 2015-09-23 | 1 | -0/+5 |
| | |||||
* | SERVER-19001 Move RemoteCommandRequest/RemoteCommandResponse into ↵ | Andy Schwerin | 2015-07-17 | 1 | -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 reflow | Mark Benvenuto | 2015-06-20 | 1 | -342/+346 |
| | |||||
* | SERVER-18623 Split NetworkInterface and StorageInterface out from ↵ | Spencer T Brody | 2015-06-04 | 1 | -1/+3 |
| | | | | ReplicationExecutor | ||||
* | SERVER-18254 unit test prepareHeartbeatResponseV1() | matt dannenberg | 2015-06-02 | 1 | -3/+3 |
| | |||||
* | SERVER-18152 SERVER-18254 new election code path and heartbeat protocol | matt dannenberg | 2015-05-19 | 1 | -3/+3 |
| | |||||
* | SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵ | Andy Schwerin | 2015-05-13 | 1 | -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 Zhou | 2015-05-12 | 1 | -5/+5 |
| | |||||
* | SERVER-18409 Retry failed heartbeat before marking a node as DOWN | matt dannenberg | 2015-05-12 | 1 | -0/+7 |
| | |||||
* | Revert "SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵ | Andy Schwerin | 2015-05-12 | 1 | -1/+1 |
| | | | | | | | | stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error. | ||||
* | SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵ | Andy Schwerin | 2015-05-12 | 1 | -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 library | Kaloian Manassiev | 2015-05-10 | 1 | -7/+5 |
| | |||||
* | SERVER-17880 Rename OpTime to Timestamp | Eric Milkie | 2015-04-07 | 1 | -6/+6 |
| | |||||
* | SERVER-15252 unit test ScatterGatherRunner | matt dannenberg | 2015-02-11 | 1 | -1/+0 |
| | |||||
* | SERVER-17176 Fix replication log messages in unit tests | Siyuan Zhou | 2015-02-10 | 1 | -1/+1 |
| | |||||
* | SERVER-17017 test two node rs with one voter up can elect | Scott Hernandez | 2015-02-03 | 1 | -0/+47 |
| | |||||
* | SERVER-16764 Make ReplicationCoordinator file names match the type names | Spencer T Brody | 2015-01-12 | 1 | -0/+360 |