Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-45885 ReplicationCoordinator::canAcceptWritesFor() accepts ↵ | Benety Goh | 2020-02-14 | 1 | -2/+4 |
| | | | | | | NamespaceStringOrUUID Interface change only - invariants if UUID is provided. | ||||
* | SERVER-45815 Make observer for topologyVersion change | Amirsaman Memaripour | 2020-02-13 | 1 | -0/+9 |
| | |||||
* | SERVER-45964 Implement helper in ReplicaSetNodeProcessInterface for issuing ↵ | Gregory Noma | 2020-02-13 | 1 | -0/+7 |
| | | | | commands to the primary | ||||
* | SERVER-45045 Increase topologyVersion and respond to waiting isMasters on ↵ | Jason Chan | 2020-01-29 | 1 | -0/+6 |
| | | | | FCV upgrade/downgrade | ||||
* | SERVER-45558 Revert logging additions for TLA+ Trace Checker project | A. Jesse Jiryu Davis | 2020-01-29 | 1 | -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 Chan | 2020-01-21 | 1 | -0/+6 |
| | |||||
* | SERVER-41333 Make safer for initial Sync and Shutdown to write the minValid ↵ | Suganthi Mani | 2020-01-16 | 1 | -0/+9 |
| | | | | document at the lastApplied. | ||||
* | SERVER-39364: Get the last oplog entry from the storage engine for ↵ | Lingzhi Deng | 2020-01-15 | 1 | -0/+12 |
| | | | | setLastOpToSystemLastOpTime | ||||
* | SERVER-44950 Update SDAM with new awaitable isMaster fields including ↵ | Janna Golden | 2020-01-13 | 1 | -1/+1 |
| | | | | topologyVersion | ||||
* | SERVER-44514 awaitIsMasterResponse returns early on topology changes | Jason Chan | 2019-12-18 | 1 | -15/+6 |
| | |||||
* | SERVER-43589 Trace logging for RaftMongo.tla | A. Jesse Jiryu Davis | 2019-12-10 | 1 | -1/+10 |
| | |||||
* | SERVER-44513 Implement ReplicationCoordinatorImpl::awaitIsMasterResponse | Jason Chan | 2019-12-05 | 1 | -0/+16 |
| | |||||
* | SERVER-43184 Remove unused ReplicationCoordinator methods and members | Haley Connelly | 2019-10-22 | 1 | -18/+0 |
| | |||||
* | SERVER-42825 Log and track metrics.repl.stateTransition counters after ↵ | Xuerui Fa | 2019-10-16 | 1 | -0/+15 |
| | | | | stopped killing user operation | ||||
* | SERVER-41513 Track the time the new term oplog entry was written by primary ↵ | Xuerui Fa | 2019-10-15 | 1 | -0/+10 |
| | | | | and applied in secondary | ||||
* | Revert SERVER-41513 | Xuerui Fa | 2019-10-14 | 1 | -10/+0 |
| | |||||
* | SERVER-41513 Track the time the new term oplog entry was written by primary ↵ | Xuerui Fa | 2019-10-14 | 1 | -0/+10 |
| | | | | and applied in secondary | ||||
* | Revert SERVER-42996 Move ApplierState to OplogApplier | Mihai Andrei | 2019-10-09 | 1 | -0/+58 |
| | |||||
* | SERVER-42996 Move ApplierState to OplogApplier | Mihai Andrei | 2019-10-08 | 1 | -58/+0 |
| | |||||
* | SERVER-43135: Introduce a future-based API for waiting for write concern | Lingzhi Deng | 2019-10-02 | 1 | -2/+2 |
| | |||||
* | SERVER-43239 Fixed bug causing numCatchUpOps in repSetGetStatus to be incorrect | Xuerui Fa | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | SERVER-41650 Use IDL to parse OpTime and wall fields | Xuerui Fa | 2019-09-13 | 1 | -1/+1 |
| | |||||
* | SERVER-42994 Add finishRecoveryIfEligible to ReplCoordinator | A. Jesse Jiryu Davis | 2019-09-12 | 1 | -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 Lanka | 2019-09-06 | 1 | -0/+6 |
| | | | | in replSetStatus on primaries | ||||
* | SERVER-43045 dbhash checks all replicated collections | Judah Schvimer | 2019-08-29 | 1 | -3/+10 |
| | |||||
* | SERVER-41504 Track the number of ops during catchup in replSetStatus on ↵ | Medha Potluri | 2019-08-16 | 1 | -0/+6 |
| | | | | primaries | ||||
* | SERVER-41502 Track the number of times primary catchup concludes for each ↵ | Medha Potluri | 2019-08-13 | 1 | -1/+11 |
| | | | | reason in serverStatus | ||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -6/+6 |
| | |||||
* | SERVER-40156 Replica sets support Split Horizons | ADAM David Alan Martin | 2019-05-17 | 1 | -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 Martin | 2019-05-10 | 1 | -0/+2 |
| | | | | | | visible inclusion. A few forward-decl headers were created also. | ||||
* | SERVER-39868 Avoid throttling replica set elections | Maria van Keulen | 2019-05-01 | 1 | -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 time | Maria van Keulen | 2019-04-30 | 1 | -0/+5 |
| | |||||
* | SERVER-40078 Report lastCommitted wall clock time | Maria van Keulen | 2019-04-16 | 1 | -1/+3 |
| | |||||
* | SERVER-39831 Never update commit point beyond last applied if learned from ↵ | Tess Avitabile | 2019-04-01 | 1 | -2/+5 |
| | | | | sync source | ||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -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 struct | Maria van Keulen | 2019-03-21 | 1 | -1/+1 |
| | |||||
* | SERVER-40080 report last applied and last durable wall clock times | Maria van Keulen | 2019-03-19 | 1 | -9/+27 |
| | |||||
* | SERVER-39673: Add flow control under a feature flag. | Daniel Gottlieb | 2019-03-17 | 1 | -0/+7 |
| | |||||
* | SERVER-38994 step down on SIGTERM | Jason Carey | 2019-03-15 | 1 | -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 Schultz | 2019-03-06 | 1 | -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 Ratcheva | 2019-02-11 | 1 | -2/+2 |
| | | | | canServeReadsFor check RSTL | ||||
* | SERVER-39199 recalculate stable timestamp after releasing transaction oplog ↵ | Judah Schvimer | 2019-02-04 | 1 | -4/+3 |
| | | | | holes | ||||
* | SERVER-37639 Add checkIfCommitQuorumCanBeSatisfied() and ↵ | Gregory Wlodarek | 2019-01-30 | 1 | -0/+21 |
| | | | | checkIfCommitQuorumIsSatisfied() to the replication interface | ||||
* | Revert "SERVER-37639 Add checkIfCommitQuorumCanBeSatisfied() and ↵ | Gregory Wlodarek | 2019-01-30 | 1 | -21/+0 |
| | | | | | | checkIfCommitQuorumIsSatisfied() to the replication interface" This reverts commit 368eb15160d51e53a42e4e0411a5572e513941cc. | ||||
* | SERVER-37639 Add checkIfCommitQuorumCanBeSatisfied() and ↵ | Gregory Wlodarek | 2019-01-30 | 1 | -0/+21 |
| | | | | checkIfCommitQuorumIsSatisfied() to the replication interface | ||||
* | SERVER-38302 recalculate stable timestamp after adding finishOpTime on ↵ | Pavi Vetriselvan | 2019-01-16 | 1 | -0/+7 |
| | | | | prepared txn commit | ||||
* | SERVER-38781 remove vestigial html code | Mathias Stearn | 2018-12-27 | 1 | -7/+0 |
| | |||||
* | SERVER-37560 Add core functionality for speculative majority reads | William Schultz | 2018-12-21 | 1 | -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 settings | Gregory Wlodarek | 2018-12-11 | 1 | -2/+0 |
| | |||||
* | SERVER-37986 Make a new ReplicationCoordinator inner class that encapsulates ↵ | Samy Lanka | 2018-11-15 | 1 | -10/+19 |
| | | | | 'can accept writes' and 'can serve reads' bools |