Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-36503 Skip dry run during election handoff | Vesselina Ratcheva | 2018-09-12 | 1 | -1/+1 |
| | | | | (cherry picked from commit b19e39088cf8754186de8f5f3f1dae17a12aaa4c) | ||||
* | SERVER-34682 Old primary should be able to store last vote when casting vote ↵ | William Schultz | 2018-05-16 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | in new term This patch allows a current primary to step down and cast its vote for a new primary in a higher term in one step. This allows for a new candidate to become elected faster if it relies on the vote of an old primary. Previously, when learning of a higher term via a replSetRequestVote request, a primary would step down, causing us to interrupt the processing of the vote request when we try to acquire a lock to write down our LastVote document with an InterruptedDueToReplStateChange code. This patch allows us to ignore these interrupts, so we can proceed with processing the vote request. Additionally, this patch also asserts that the vote response is actually ok, so that we don't erroneously send a voteGranted=yes response even if we failed to persist our last vote document. | ||||
* | SERVER-34580 Plumb commit time to commit handlers when available | Judah Schvimer | 2018-05-03 | 1 | -15/+0 |
| | |||||
* | SERVER-34372 add ↵ | Benety Goh | 2018-04-17 | 1 | -0/+5 |
| | | | | ReplicationCoordinator::signalDropPendingCollectionsRemovedFromStorage() | ||||
* | SERVER-31802 Rip out more dead master-slave code, and the related concept of ↵ | Andy Schwerin | 2018-03-15 | 1 | -32/+7 |
| | | | | RID. | ||||
* | SERVER-31802 SERVER-31239 Remove master-slave replication and resync command. | Andy Schwerin | 2018-03-13 | 1 | -10/+0 |
| | |||||
* | SERVER-32776 ReplicationCoordinator::prepareReplMetadata no longer requires ↵ | Benety Goh | 2018-02-13 | 1 | -2/+1 |
| | | | | | | | OperationContext The OperationContext was previously used to retrieve the rollback ID from the ReplicationProcess. | ||||
* | SERVER-32284 rename ReplicationCoordinator::reserveSnapshotName() to ↵ | Benety Goh | 2018-01-17 | 1 | -2/+2 |
| | | | | getMinimumVisibleSnapshot() | ||||
* | SERVER-32284 remove unused last snapshot support from ReplClientInfo | Benety Goh | 2018-01-17 | 1 | -3/+2 |
| | |||||
* | SERVER-32284 remove ReplicationCoordinator::awaitReplicationOfLastOpForClient() | Benety Goh | 2018-01-17 | 1 | -7/+0 |
| | |||||
* | SERVER-28895 Remove old form of replSetUpdatePosition command | Vesselina Ratcheva | 2017-12-13 | 1 | -13/+1 |
| | |||||
* | SERVER-30577 Don't update the stable timestamp if database is in an ↵ | William Schultz | 2017-11-21 | 1 | -6/+21 |
| | | | | inconsistent state | ||||
* | SERVER-31304: Refactor away SnapshotName. | Daniel Gottlieb | 2017-11-21 | 1 | -11/+3 |
| | |||||
* | SERVER-32006 add a parameter to wait before secondaries perform noop write | Misha Tyulenev | 2017-11-17 | 1 | -0/+10 |
| | |||||
* | SERVER-30638 change setReadFromMajorityCommittedSnapshot to use timestamps ↵ | Eric Milkie | 2017-10-05 | 1 | -8/+0 |
| | | | | instead of named snapshots | ||||
* | SERVER-28545 Do not wait for election to finish while holding global lock | Spencer T Brody | 2017-06-28 | 1 | -2/+3 |
| | |||||
* | SERVER-28545 Change ReplicationCoordinator::setFollowerMode to return a ↵ | Spencer T Brody | 2017-06-28 | 1 | -2/+2 |
| | | | | Status instead of a bool | ||||
* | SERVER-29264 Kill off rpc::RequestInterface | Mathias Stearn | 2017-06-07 | 1 | -1/+0 |
| | |||||
* | SERVER-29274 move oplogDisabled from oplog.cpp to ReplicationCoordinator | Benety Goh | 2017-05-23 | 1 | -0/+6 |
| | |||||
* | Revert "SERVER-29274 move oplogDisabled from oplog.cpp to ↵ | Benety Goh | 2017-05-23 | 1 | -6/+0 |
| | | | | | | ReplicationCoordinator" This reverts commit c1b1bd0944115c30b18bfe189356897e8896012f. | ||||
* | SERVER-29274 move oplogDisabled from oplog.cpp to ReplicationCoordinator | Benety Goh | 2017-05-23 | 1 | -0/+6 |
| | |||||
* | SERVER-27659 Persist Rollback Id | Judah Schvimer | 2017-04-28 | 1 | -12/+2 |
| | |||||
* | Revert "SERVER-27659 Persist Rollback Id" | ADAM David Alan Martin | 2017-04-28 | 1 | -2/+12 |
| | | | | This reverts commit ac6f185017f76cc7124373e97a2c55291d5c8956. | ||||
* | SERVER-27659 Persist Rollback Id | Judah Schvimer | 2017-04-21 | 1 | -12/+2 |
| | |||||
* | SERVER-26848 Exit catchup mode when not syncing more data. | Siyuan Zhou | 2017-04-20 | 1 | -0/+5 |
| | | | | This reverts commit c08590a6ac9dc54c9d910822d47ea17140b56f89. | ||||
* | Revert "SERVER-26848 Exit catchup mode when not syncing more data." | Robert Guo | 2017-04-20 | 1 | -5/+0 |
| | | | | This reverts commit d0c851e2f4bfea514e22c97af1838640d2849a8c. | ||||
* | SERVER-26848 Exit catchup mode when not syncing more data. | Siyuan Zhou | 2017-04-19 | 1 | -0/+5 |
| | |||||
* | SERVER-28624 Further reduce dependency on ReplicationExecutor type. | Andy Schwerin | 2017-04-06 | 1 | -6/+5 |
| | | | | | | * Replace getDiagnosticString() with appendDiagnosticBSON() in TaskExecutors. * Introduce appendDiagnostics to ReplicationCoordinator, to hide the implementation detail that ReplicationCoordinatorImpl has a TaskExecutor. | ||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -28/+29 |
| | | | | | | 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-27914 Verify canAcceptWritesForDatabase() is called while the caller ↵ | Matthew Russotto | 2017-03-06 | 1 | -3/+26 |
| | | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9. | ||||
* | Revert "SERVER-26965 Use RAII type for turning off replicated writes." | Matthew Russotto | 2017-03-06 | 1 | -26/+3 |
| | | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2. | ||||
* | SERVER-27995 make repl_set* naming convention consistent | Judah Schvimer | 2017-03-06 | 1 | -3/+3 |
| | |||||
* | SERVER-26965 Use RAII type for turning off replicated writes. | Matthew Russotto | 2017-03-06 | 1 | -3/+26 |
| | |||||
* | SERVER-27120 Increase synchronization between producer/applier threads and ↵ | Siyuan Zhou | 2017-02-27 | 1 | -9/+59 |
| | | | | | | stepdown/stepup SERVER-27913 Make sure the last applied hash is corresponding to the last applied optime in bgsync start() | ||||
* | SERVER-27543 Process OplogQueryMetadata with backwards and forwards ↵ | Judah Schvimer | 2017-02-15 | 1 | -4/+9 |
| | | | | compatibility | ||||
* | SERVER-27828: Pass ServiceContext to oplog and ReplicationCoordinator ↵ | Misha Tyulenev | 2017-02-08 | 1 | -0/+2 |
| | | | | methods that will use LogicalClock | ||||
* | SERVER-27807 synchronize creating a snapshot with its registration in replcoord | Eric Milkie | 2017-01-25 | 1 | -2/+5 |
| | | | | | | | 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-27543 send OplogQueryMetadata with OplogFetcher queries | Judah Schvimer | 2017-01-20 | 1 | -3/+5 |
| | |||||
* | SERVER-27123 Only update the commit point as a secondary from oplog queries ↵ | Spencer T Brody | 2017-01-04 | 1 | -7/+6 |
| | | | | against your sync source | ||||
* | SERVER-26202 Relax index constraints in oplog application | Siyuan Zhou | 2016-11-08 | 1 | -3/+5 |
| | | | | This reverts commit d23e79eb9e69bd746416d9f674dfaee59457c887. | ||||
* | Revert "SERVER-26202 Relax index constraints in oplog application" | Siyuan Zhou | 2016-11-06 | 1 | -5/+3 |
| | | | | This reverts commit f00448255bbb24c07e2f55e7e229f19e316350a6. | ||||
* | SERVER-26202 Relax index constraints in oplog application | Siyuan Zhou | 2016-11-04 | 1 | -3/+5 |
| | |||||
* | SERVER-26640 remove flag for linearizable read support | Benety Goh | 2016-10-14 | 1 | -5/+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 Goh | 2016-09-28 | 1 | -0/+5 |
| | | | | defaulting to disabled | ||||
* | SERVER-23476: restart initialsync/resync if replSetSyncFrom is called | Scott Hernandez | 2016-08-18 | 1 | -1/+3 |
| | |||||
* | SERVER-25125 Report initial sync progress in ReplSetGetStatus | Judah Schvimer | 2016-08-16 | 1 | -2/+6 |
| | |||||
* | Revert "SERVER-25125 Report initial sync progress in ReplSetGetStatus" | Judah Schvimer | 2016-08-15 | 1 | -6/+2 |
| | | | | This reverts commit 10ff598752d57650783c63166180df31f907df12. | ||||
* | SERVER-25125 Report initial sync progress in ReplSetGetStatus | Judah Schvimer | 2016-08-15 | 1 | -2/+6 |
| | |||||
* | SERVER-23476: wire resync back up | Scott Hernandez | 2016-08-11 | 1 | -4/+5 |
| | |||||
* | SERVER-23663 New primary syncs from chosen node to catch up with timeout | Siyuan Zhou | 2016-08-04 | 1 | -0/+6 |
| | | | | SERVER-23662 Implement "catch-up timeout" configuration variable |