summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_set_commands.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-43236 Wrap reconfig cmd no-op oplog write in writeConflictRetry blockAli Mir2019-11-061-13/+17
| | | | (cherry picked from commit 55e80afa2d511b9bd1a316d3fd4cb6185baa829b)
* SERVER-41500 Track number of successful elections for each reason in ↵Samyukta Lanka2019-09-261-2/+16
| | | | | | | | | | | | | | serverStatus (cherry picked from commit bf4f91a6087227295007535bf143a8dd20e6a6d5) SERVER-41510 Track the number of failed stepDowns in serverStatus (cherry picked from commit 4e8fbd52ca8cda811dc53bb160f3ca5074355dab) SERVER-41502 Track the number of times primary catchup concludes for each reason in serverStatus (cherry picked from commit 796214e8426b3036f4eb4bdcc4af9d218589778f)
* SERVER-41509 Track the number of attempted stepDowns in serverStatusMedha Potluri2019-08-161-3/+13
| | | | (cherry picked from commit 2ae4fd3e580c90ecfca524d02b9a484f671768f0)
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-191-26/+28
|
* SERVER-36503 Skip dry run during election handoffVesselina Ratcheva2018-09-121-1/+2
| | | | (cherry picked from commit b19e39088cf8754186de8f5f3f1dae17a12aaa4c)
* SERVER-35101 Strip trailing and leading whitespace from bind_ip arguments ↵Adam Cooper2018-07-021-5/+1
| | | | | | and change to std::vector internally
* SERVER-35275 rename fail point FP macros, improve docsBilly Donahue2018-06-111-1/+1
| | | | (cherry picked from commit e7fd01e0293bbb46b330ba00819ceaa638e88921)
* SERVER-34653 MONGO_REGISTER_TEST_COMMANDBilly Donahue2018-05-161-7/+1
|
* SERVER-33524 Fix kill secondaries standalone invariant checks to use a ↵Judah Schvimer2018-05-151-0/+8
| | | | "recovery" timestamp command
* SERVER-34628 Really remove appendCommandStatusMathias Stearn2018-05-081-75/+60
| | | | | | | | | | All remaining callers are transitioned to some form of usassert. This was done with an elaborate set of vim macros to make this tractable. Therefore it should not be considered an example of the best way to write new code, just as an improvement on what was there before. In particular, I couldn't easily remove Status's that are named then only used once in uassertStatusOK, nor could I convert the pattern of checking a StatusWith<T>'s getStatus() then calling getValue() to just call uassertStatusOK(returnsStatusWith()).
* SERVER-34628 Prep for removing appendCommandStatusMathias Stearn2018-05-081-1/+2
| | | | | | | | | * Added appendCommandStatusNoThrow matching the current aCS behavior * Make appendCommandStatus call uassertStatusOK then aCS on success * Make the few places that need to not throw call aCSNT A following commit will completely remove appendCommandStatus. It is split out because that commit is fairly huge.
* SERVER-34805 Refactor the network libraries and move messages types to ↵Andrew Morrow2018-05-051-1/+1
| | | | rpc/protocol
* SERVER-34751 Replace getGlobalStorageEngine cals with getStorageEngine.Andy Schwerin2018-05-031-1/+1
|
* SERVER-29725 mongoe applicationHenrik Edin2018-04-181-41/+0
| | | | Embedded MongoDB in a standalone application. To be able to connect with the shell and perform testing on embedded.
* SERVER-33889 Split dcommands and core into libraries for embedded vs ↵Henrik Edin2018-03-231-0/+1
| | | | standalone process applications. Refactored commands libraries throughout the codebase and made their uses be LIBDEPS_PRIVATE when possible as most commands don't export any symbols and don't even have headerfiles.
* SERVER-33892 Separate test_commands_enabled libraryBilly Donahue2018-03-141-1/+1
|
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Nick Zolnierz2018-03-021-3/+2
| | | | | | decoration through service context (global if needed). This reverts commit a8fddd07a740e959646995ef93139887b3b3eb5c.
* Revert "SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when ↵Nick Zolnierz2018-03-021-2/+3
| | | | | | getting decoration through service context (global if needed)." This reverts commit 7d37a75df3f6035a7afcb51123b88f0e99308fc8.
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Henrik Edin2018-03-021-3/+2
| | | | decoration through service context (global if needed).
* SERVER-32776 ReplicationProcess::getRollbackID() no longer reads from ↵Benety Goh2018-02-131-6/+1
| | | | storage to refresh cached rollback id
* SERVER-33136 const-ify the command auth accessorsBilly Donahue2018-02-061-1/+1
|
* SERVER-32958 Command::help() returns std::stringBilly Donahue2018-01-301-44/+44
|
* SERVER-29519 Removed many usages of getGlobalReplicationCoordinatorHenrik Edin2018-01-221-27/+28
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-51/+54
|
* SERVER-28895 Remove old form of replSetUpdatePosition commandVesselina Ratcheva2017-12-131-15/+0
|
* SERVER-21456 Only rely on isMaster to set kKeepOpen tag on transport sessions.Siyuan Zhou2017-11-281-14/+0
|
* SERVER-31808 don't boost::split an empty bind_ip stringBilly Donahue2017-11-201-1/+3
| | | | lint
* Revert "SERVER-31808 Query vector<SockAddr> from TransportLayer"Billy Donahue2017-11-151-17/+43
| | | | This reverts commit a1d7841f95f88bcb0fbeb37d7ce40382840c7b90.
* SERVER-31808 Query vector<SockAddr> from TransportLayerBilly Donahue2017-11-151-43/+17
|
* SERVER-31648 Perform sets/unsets to session tags atomically.Justin Seyster2017-11-061-5/+3
| | | | | | | | | | | As described in the SERVER ticket, there is a window in CmdIsMaster::run() during which there is no flag set to prevent a session from being closed by an FCV update (even when the session is one that should stay open through the upgrade). This change closes that window. As part of the fix, this change also replaces the replaceTags() function with functions that can atomically update the session tags.
* SERVER-31464 Use localhost for default rs.initiate() configuration when only ↵Sara Golemon2017-10-141-14/+32
| | | | binding localhost
* SERVER-29961 Close change notification cursors when a chunk migrates to a ↵Siyuan Zhou2017-09-131-0/+2
| | | | new shard
* SERVER-29687 Don't include sock.h from options headerAndrew Morrow2017-08-231-0/+1
|
* SERVER-28918 Move rsOplogName to NamespaceStringJack Mulrow2017-07-191-1/+1
|
* SERVER-29731 get errmsg out of BasicCommand apiMathias Stearn2017-07-131-17/+1
| | | | It is now only used by commands deriving from ErrmsgCommandDeprecated.
* SERVER-29564 BSONObjBuilder can now be seeded with a BSONObj prefixMathias Stearn2017-06-191-2/+1
| | | | This will avoid copying whenever it is safe.
* SERVER-29254 Moved MinValid into ReplicationProcessJudah Schvimer2017-05-301-1/+2
|
* SERVER-29275 ReplicationCoordinatorExternalStateImpl accepts ↵Benety Goh2017-05-241-2/+5
| | | | DropPendingCollectionReaper as constructor argument
* SERVER-29260 Make BSONObj argument to Command::run() const&Mathias Stearn2017-05-171-16/+16
|
* SERVER-29249 Remove Command::_webUi member and constructor argumentMathias Stearn2017-05-171-2/+2
|
* SERVER-28988 add ReplicationProcessBenety Goh2017-04-281-1/+2
| | | | | | | This class is intended to hold replication state in a secondary node related to the copying and applying operations from the sync source. This initial implementation holds a cached copy of the rollback ID only.
* SERVER-27659 Persist Rollback IdJudah Schvimer2017-04-281-2/+7
|
* SERVER-28229: Bind to localhost by defaultSpencer Jackson2017-04-281-1/+1
|
* Revert "SERVER-27659 Persist Rollback Id"ADAM David Alan Martin2017-04-281-7/+2
| | | | This reverts commit ac6f185017f76cc7124373e97a2c55291d5c8956.
* SERVER-27659 Persist Rollback IdJudah Schvimer2017-04-211-2/+7
|
* SERVER-26848 Exit catchup mode when not syncing more data.Siyuan Zhou2017-04-201-1/+34
| | | | This reverts commit c08590a6ac9dc54c9d910822d47ea17140b56f89.
* Revert "SERVER-26848 Exit catchup mode when not syncing more data."Robert Guo2017-04-201-34/+1
| | | | This reverts commit d0c851e2f4bfea514e22c97af1838640d2849a8c.
* SERVER-26848 Exit catchup mode when not syncing more data.Siyuan Zhou2017-04-191-1/+34
|
* SERVER-28624 Replace references to ReplicationExecutor with TaskExecutor.Andy Schwerin2017-04-181-1/+0
| | | | | | | 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-28701 Remove queryOptions argument from Command::run()Mathias Stearn2017-04-121-15/+0
|