summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-45885 ReplicationCoordinator::canAcceptWritesFor() accepts ↵Benety Goh2020-02-141-2/+4
| | | | | | NamespaceStringOrUUID Interface change only - invariants if UUID is provided.
* SERVER-45815 Make observer for topologyVersion changeAmirsaman Memaripour2020-02-131-0/+9
|
* SERVER-45964 Implement helper in ReplicaSetNodeProcessInterface for issuing ↵Gregory Noma2020-02-131-0/+7
| | | | commands to the primary
* SERVER-45045 Increase topologyVersion and respond to waiting isMasters on ↵Jason Chan2020-01-291-0/+6
| | | | FCV upgrade/downgrade
* SERVER-45558 Revert logging additions for TLA+ Trace Checker projectA. Jesse Jiryu Davis2020-01-291-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a combination of 6 commits. Revert "SERVER-44458 Add RaftMongo.tla spec" This reverts commit 88aaa47b815507e3ddd9a3a79f00d0eaca3ae071. Revert "SERVER-45184 Ban TLA+ tracing with inMemory" This reverts commit e57438bd024d04f82dcbcbe68fe223b3f3aec838. Revert "SERVER-43589 Trace logging for RaftMongo.tla" This reverts commit f515d2ad5494e64c3be80189e7ea6bceaf267421. Revert "SERVER-44076 create TLA+ Trace Checking logging framework" This reverts commit 744200de5f5667334457ee35abfa3747e2e26d55. Revert "SERVER-43589 Failpoint to log TLA+ trace events" This reverts commit eda99cf7ca668908e5eb0498845b0270265c44e7. Revert "SERVER-45106 Add TLA+ log component to logv2" This reverts commit a60ce00707f0ffdb5d2ec5c3a72993cc2b2d2978. delete mode 100644 jstests/replsets/tla_plus_trace_checking.js delete mode 100644 src/mongo/db/repl/replication_coordinator_impl_tla_plus_trace.cpp delete mode 100644 src/mongo/db/repl/tla_plus_trace_repl.idl delete mode 100644 src/mongo/util/tla_plus_trace.cpp delete mode 100644 src/mongo/util/tla_plus_trace.h delete mode 100644 src/mongo/util/tla_plus_trace.idl
* SERVER-44518 Add TopologyVersion to State Change Errors.Jason Chan2020-01-211-0/+6
|
* SERVER-41333 Make safer for initial Sync and Shutdown to write the minValid ↵Suganthi Mani2020-01-161-0/+9
| | | | document at the lastApplied.
* SERVER-39364: Get the last oplog entry from the storage engine for ↵Lingzhi Deng2020-01-151-0/+12
| | | | setLastOpToSystemLastOpTime
* SERVER-44950 Update SDAM with new awaitable isMaster fields including ↵Janna Golden2020-01-131-1/+1
| | | | topologyVersion
* SERVER-44514 awaitIsMasterResponse returns early on topology changesJason Chan2019-12-181-15/+6
|
* SERVER-43589 Trace logging for RaftMongo.tlaA. Jesse Jiryu Davis2019-12-101-1/+10
|
* SERVER-44513 Implement ReplicationCoordinatorImpl::awaitIsMasterResponseJason Chan2019-12-051-0/+16
|
* SERVER-43184 Remove unused ReplicationCoordinator methods and membersHaley Connelly2019-10-221-18/+0
|
* SERVER-42825 Log and track metrics.repl.stateTransition counters after ↵Xuerui Fa2019-10-161-0/+15
| | | | stopped killing user operation
* SERVER-41513 Track the time the new term oplog entry was written by primary ↵Xuerui Fa2019-10-151-0/+10
| | | | and applied in secondary
* Revert SERVER-41513Xuerui Fa2019-10-141-10/+0
|
* SERVER-41513 Track the time the new term oplog entry was written by primary ↵Xuerui Fa2019-10-141-0/+10
| | | | and applied in secondary
* Revert SERVER-42996 Move ApplierState to OplogApplierMihai Andrei2019-10-091-0/+58
|
* SERVER-42996 Move ApplierState to OplogApplierMihai Andrei2019-10-081-58/+0
|
* SERVER-43135: Introduce a future-based API for waiting for write concernLingzhi Deng2019-10-021-2/+2
|
* SERVER-43239 Fixed bug causing numCatchUpOps in repSetGetStatus to be incorrectXuerui Fa2019-09-271-1/+1
|
* SERVER-41650 Use IDL to parse OpTime and wall fieldsXuerui Fa2019-09-131-1/+1
|
* SERVER-42994 Add finishRecoveryIfEligible to ReplCoordinatorA. Jesse Jiryu Davis2019-09-121-0/+4
| | | | | This logic was in a free function tryToGoLiveAsASecondary in sync_tail.cpp, but belongs with other state-change methods on ReplicationCoordinator.
* SERVER-41508 Track the time the new term oplog entry was majority committed ↵Samyukta Lanka2019-09-061-0/+6
| | | | in replSetStatus on primaries
* SERVER-43045 dbhash checks all replicated collectionsJudah Schvimer2019-08-291-3/+10
|
* SERVER-41504 Track the number of ops during catchup in replSetStatus on ↵Medha Potluri2019-08-161-0/+6
| | | | primaries
* SERVER-41502 Track the number of times primary catchup concludes for each ↵Medha Potluri2019-08-131-1/+11
| | | | reason in serverStatus
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-6/+6
|
* SERVER-40156 Replica sets support Split HorizonsADAM David Alan Martin2019-05-171-1/+3
| | | | | | | | | Replica sets can now respond to `isMaster` requests with different hostnames and ports, if contacted via alternate names using TLS. The `horizons` field in replica set member configurations can be used to control which `HostAndPort` to reply with for which "horizon view" of a replica set.
* SERVER-41075 Remove `mongo/repl/replication_coordinator.h` from op-context ↵ADAM David Alan Martin2019-05-101-0/+2
| | | | | | visible inclusion. A few forward-decl headers were created also.
* SERVER-39868 Avoid throttling replica set electionsMaria van Keulen2019-05-011-0/+5
| | | | | This patch also ensures secondaries are not throttled and provides a framework to exclude particular operations from being throttled.
* SERVER-40353 Track read concern majority wall clock timeMaria van Keulen2019-04-301-0/+5
|
* SERVER-40078 Report lastCommitted wall clock timeMaria van Keulen2019-04-161-1/+3
|
* SERVER-39831 Never update commit point beyond last applied if learned from ↵Tess Avitabile2019-04-011-2/+5
| | | | sync source
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-2/+2
| | | | | | | | | | | 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-1/+1
|
* SERVER-40080 report last applied and last durable wall clock timesMaria van Keulen2019-03-191-9/+27
|
* SERVER-39673: Add flow control under a feature flag.Daniel Gottlieb2019-03-171-0/+7
|
* SERVER-38994 step down on SIGTERMJason Carey2019-03-151-0/+9
| | | | | | Check to see if we've entered shutdown from a shutdown command. If not, and if the replication machinery is up, attempt a shutdown in the style of a default shutdown command.
* SERVER-39356 Refactor speculative majority read data structures and methods ↵William Schultz2019-03-061-6/+10
| | | | | | to use timestamps instead of optimes This patch refactors the SpeculativeMajorityReadInfo class and the awaitOpTimeCommitted method to accept timestamps as input instead of optimes. When waiting for an operation to majority commit, term information, which is included in optimes, isn't necessary, since timestamps are totally ordered within a local oplog, and so are safely comparable. It is, for example, safe to determine if a local oplog entry is majority committed by checking if its timestamp is less than that node's local view of the majority commit point. This patch should not introduce any observable functional changes.
* SERVER-39139 Make canAcceptWritesFor, canAcceptWritesForDatabase and ↵Vesselina Ratcheva2019-02-111-2/+2
| | | | canServeReadsFor check RSTL
* SERVER-39199 recalculate stable timestamp after releasing transaction oplog ↵Judah Schvimer2019-02-041-4/+3
| | | | holes
* SERVER-37639 Add checkIfCommitQuorumCanBeSatisfied() and ↵Gregory Wlodarek2019-01-301-0/+21
| | | | checkIfCommitQuorumIsSatisfied() to the replication interface
* Revert "SERVER-37639 Add checkIfCommitQuorumCanBeSatisfied() and ↵Gregory Wlodarek2019-01-301-21/+0
| | | | | | checkIfCommitQuorumIsSatisfied() to the replication interface" This reverts commit 368eb15160d51e53a42e4e0411a5572e513941cc.
* SERVER-37639 Add checkIfCommitQuorumCanBeSatisfied() and ↵Gregory Wlodarek2019-01-301-0/+21
| | | | checkIfCommitQuorumIsSatisfied() to the replication interface
* SERVER-38302 recalculate stable timestamp after adding finishOpTime on ↵Pavi Vetriselvan2019-01-161-0/+7
| | | | prepared txn commit
* SERVER-38781 remove vestigial html codeMathias Stearn2018-12-271-7/+0
|
* SERVER-37560 Add core functionality for speculative majority readsWilliam Schultz2018-12-211-0/+13
| | | | This patch adds functionality for "speculative" majority reads. These are reads that can satisfy "majority" read concern guarantees without support from the storage engine for reading from a historical snapshot. Queries of this nature will, by default, wait on the most recent lastApplied optime to majority commit after they complete, but before returning to the client. They can also optionally set a custom optime T to wait on, if they know that they did not read any data that reflects the effects of operations newer than optime T.
* SERVER-38143 Remove MMAPV1 command-line options and config file settingsGregory Wlodarek2018-12-111-2/+0
|
* SERVER-37986 Make a new ReplicationCoordinator inner class that encapsulates ↵Samy Lanka2018-11-151-10/+19
| | | | 'can accept writes' and 'can serve reads' bools