summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-55589 setMaintenanceMode should take RSTL in X modeVishnu Kaushik2021-10-1412-39/+61
|
* SERVER-58780: Ensure that _shouldSetStableTimestamp restores to true if ↵Lingzhi Deng2021-10-121-0/+8
| | | | | | replSetInitiate fails (cherry picked from commit 75e59101ebc9d8a4633b270a3fd44d6e2058a1b9)
* SERVER-58183 Ensure that we ignore prepare conflicts when applying prepare ↵Samy Lanka2021-10-051-0/+4
| | | | | | | | transaction oplog entries (cherry picked from commit ea2ea50017f76adf68ca3cb385546774a251c42e) (cherry picked from commit 5e553f1e34dddb6242b936c0f1e00a8294a39747) (cherry picked from commit ec3acbdb7580d99f524f2893abe153d6aae62e75)
* SERVER-58988 Avoid sync source selection cycle during primary catchup.Wenbin Zhu2021-10-044-27/+164
| | | | (cherry picked from commit b46acdbba8ec51810b6f402dbe18ed7ea98fd13d)
* SERVER-34938 Secondary slowdown or hang due to content pinned in cache by ↵r4.2.16-rc0r4.2.16Moustafa Maher2021-08-302-1/+8
| | | | single oplog batch
* SERVER-59074 Do not acquire storage tickets just to set/wait on oplog visibilityGregory Wlodarek2021-08-252-6/+16
| | | | (cherry picked from commit 64dd4524434f617b480e742e8dc421cccd8231fai)
* SERVER-59301 fixed waitInHello fail injection and tests using itAndrew Shuvalov2021-08-211-2/+10
|
* SERVER-58169: Log timestamps info on hitting invariants around stable ↵Lingzhi Deng2021-08-171-6/+18
| | | | | | timestamp calculation (cherry picked from commit 9c13c4f4fc60066b326146f9b52a28ea8ad5d164)
* SERVER-37904 Add enableOverrideClusterChainingSetting server parameterCarolyn Duan2021-08-123-2/+15
| | | | (cherry picked from commit 7422c1b638d2e4b200e7b72041d76f5702364d2b)
* SERVER-50486 Always interrupt multi-document transactions on step down or ↵Samy Lanka2021-08-051-0/+3
| | | | | | | step up (cherry picked from commit 5e9d3327d5d08288a932ee77db3be4eb0d45c9c8) (cherry picked from commit a230371af696ff2eaf17c1937fb0ca62dab476d3)
* SERVER-39621 Change sync source when primary steps down and chaining is disabledSamy Lanka2021-08-042-0/+104
| | | | | (cherry picked from commit 2ffaa9d4efefffc7045b6b47d9380299b28dfd7a) (cherry picked from commit 03db775aaf4e3167894092aa4bdfbb980b06c703)
* SERVER-58258 Fix race between 'replSetGetStatus' request and initial syncer ↵Wenbin Zhu2021-07-211-8/+21
| | | | | | clearing state. (cherry picked from commit f4860f196c4c7cc335955361865f3511d0c73606)
* SERVER-53431 Server should report itself not writable during stepdownMatthew Russotto2021-07-202-0/+24
| | | | (cherry picked from commit d73b402b349498d799d4d4458cff9b0c4cea5fb6)
* SERVER-49237 Add a way for OperationContexts to opt-in to always getting ↵Spencer T Brody2021-07-081-1/+2
| | | | interrupted at stepdown
* SERVER-55465 Response from all nodes means sufficient responses have been ↵Vishnu Kaushik2021-07-062-2/+34
| | | | received even if primary gave bad response in catchup takeover dry run
* SERVER-56489: New pass-through test with hello server-side delaysAndrew Shuvalov2021-07-021-2/+48
|
* SERVER-44316 Remove incorrect log message in initial_syncer.cppCarolyn Duan2021-06-161-1/+0
| | | | (cherry picked from commit f1370eb80c66f1439bc2ea135a2bf25e80eda1ed)
* SERVER-56054: Change minThreads value for replication writer thread pool to 0Lingzhi Deng2021-06-093-6/+24
| | | | | (cherry picked from commit 136fa52193c342038b3fa35152fa1ed3dee4ee87) (cherry picked from commit 4935fe56743814ffc39e9f7d9eebb3648dc2846f)
* SERVER-57173: BACKPORT-9321 Add distinction to oplog application when data ↵Andrew Shuvalov2021-06-0711-70/+161
| | | | is inconsistent
* SERVER-56713: BACKPORT-8977 [RRFaM] Avoid creating images while in initial syncAndrew Shuvalov2021-05-281-13/+39
|
* SERVER-56376: [RRFaM] part 1, add preImage extraction from ↵Andrew Shuvalov2021-05-272-4/+13
| | | | config.image_collection
* SERVER-56375: [RRFaM] BACKPORT-8905 Have delete path write to ↵Andrew Shuvalov2021-05-241-2/+18
| | | | config.transactions
* SERVER-56374: BACKPORT-8902 Add ability to write retryable findAndModify ↵Andrew Shuvalov2021-05-212-1/+51
| | | | updates to config.image_collection
* SERVER-56373: BACKPORT-8899 from 8447dea added needsRetryImage support to ↵Andrew Shuvalov2021-05-193-7/+18
| | | | log serializer for oplog
* SERVER-56373: BACKPORT-8899 Refactor Oplog onDelete callback to accomodate ↵Andrew Shuvalov2021-05-183-5/+11
| | | | new preImage arg
* SERVER-56584: BACKPORT-8946 Create IDL for documents for retriable find and ↵Andrew Shuvalov2021-05-183-0/+59
| | | | modify
* SERVER-56372: BACKPORT-8914 add server parameter for find and modify image ↵Andrew Shuvalov2021-05-181-0/+8
| | | | location
* SERVER-49336 Set ClientMetadata before CommandInvocations are runA. Jesse Jiryu Davis2021-05-121-28/+5
|
* SERVER-55766 Introduce an optimized "for restore" startup replication ↵Matthew Russotto2021-05-124-17/+113
| | | | | | recovery mechanism (cherry picked from commit 40b7635321caadb7219f7d990a049a93d9776490)
* SERVER-55007 Deadlock between step down and MongoDOperationContextSessionRandolph Tan2021-04-232-0/+16
| | | | (cherry picked from commit 939178eb77d25dc234de03ac7d5dc98210514c7a)
* SERVER-52564 Deadlock between step down and MongoDOperationContextSessionRandolph Tan2021-04-231-0/+6
| | | | (cherry picked from commit 6ee5a25cfc951f6e914dcc9f7d1a63d2e7aeaa67)
* SERVER-50414 Reads should return not primary error messages during rollback ↵Pavi Vetriselvan2021-03-173-5/+10
| | | | | | | if client sent helloOk (cherry picked from commit d633efa72090a864442ef7232e1261d3b25bc27c) (cherry picked from commit a04b42ed317f084387e70120fc0ad6ab0d6300ac)
* SERVER-50412 implement helloOk protocol negotiation on mongodPavi Vetriselvan2021-03-171-0/+18
| | | | | (cherry picked from commit 1118ad680f76ac29795c8396beb11b0b50322f20) (cherry picked from commit 4dbefcfc9304a9ffa1fec8390dc2bd30e0dc9a54)
* SERVER-51163 Mark nodes returning InvalidReplicaSetConfig in heartbeats as downSiyuan Zhou2021-02-242-5/+3
| | | | (cherry picked from commit 28c6948a2a02760a69aaee3875c4b2a427528a5a)
* SERVER-53612: Fix StepDown hangs when all nodes are caught up but none is ↵Lingzhi Deng2021-02-174-3/+30
| | | | | | immediately electable (cherry picked from commit 6308db5c83a3e95f4532c63df8b635b8090036ae)
* SERVER-35649 Retry DNS failures during reconfigA. Jesse Jiryu Davis2021-02-047-18/+49
| | | | (cherry picked from commit 418c61279986a5eaddc66a16b5e288556ad1f6d3)
* SERVER-43904: Filter unelectable nodes during election handoffXueruiFa2021-01-144-0/+40
| | | | (cherry picked from commit bf614cb57059c74830633855e28b3f4677cd4f8d)
* SERVER-53026 Fix "resync" commandA. Jesse Jiryu Davis2020-12-142-7/+16
| | | | | (cherry picked from commit a574d23ec0b7d06b8d872bf64136308f541a796d) (cherry picked from commit 68bf17aa3b19d0b7f53b7a1b6fe1ebbafdf558d2)
* SERVER-47863 Add fields to initial sync progress metricsJason Chan2020-12-078-17/+234
|
* SERVER-50869 Fix race condition in bgsync when clearing appliedThrough ↵Samy Lanka2020-11-241-0/+16
| | | | | | | during stepUp (cherry picked from commit 4fbb1f65e2ad712f6b4e761d3145191e744b1e7d) (cherry picked from commit c4fd5f392d7e71fe49c84d8b939fa72f4809e48e)
* SERVER-52680 Start replication when leaving REMOVED stateA. Jesse Jiryu Davis2020-11-201-2/+13
| | | | (cherry picked from commit 73ab98a9094de18b82e596e8d1d0bf311858548b)
* SERVER-47812 Secondaries persist wildcard multikeypaths out of orderBernard Gorman2020-11-206-8/+16
| | | | | (cherry picked from commit bd320bc2d10cff75756a2c95986cc81ec8a5e7c7) (cherry picked from commit 48089c01bcccc193b1d8dd3c50ae5cb3e072ebed)
* SERVER-33747 Fix crash when arbiter restarts and enters REMOVEDA. Jesse Jiryu Davis2020-11-093-2/+9
| | | | (cherry picked from commit 72aacd4ffaf6500777a8a51f87b0797f8ea8ad0b)
* SERVER-50527 Change NotMasterError category to NotPrimaryErrorPavi Vetriselvan2020-10-302-5/+5
| | | | | (cherry picked from commit de38970c3b17250fd14ce83fb8a81d3f3e10bc69) (cherry picked from commit c78f57ddbc333923f6a3e9122ec84189b3ca810d)
* SERVER-50410 Change NotMasterOrSecondary error code name to ↵Pavi Vetriselvan2020-10-303-4/+4
| | | | | | | NotPrimaryOrSecondary (cherry picked from commit e703a72a49151fa782cfd83a654a6af55663ca38) (cherry picked from commit 06b1ee3f6877798c91a4b4f2a9984e6e0054ca16)
* SERVER-50409 Change NotMasterNoSlaveOk error name to NotPrimaryNoSecondaryOkPavi Vetriselvan2020-10-301-1/+1
| | | | | (cherry picked from commit b1920ea0a48a86bcd99eb5273ccbf12c008e4ed0) (cherry picked from commit 41b6e571e0ae8669b9bbd41f2a694535adeeb8d6)
* SERVER-50408 Change NotMaster error name to NotWritablePrimaryPavi Vetriselvan2020-10-309-18/+20
| | | | | (cherry picked from commit 783e113bbb1bfa83630222de5b74fe95530692f0) (cherry picked from commit 91b24be9ce86be1001f3845393edcca72186ea79)
* SERVER-45992 Skip nojournal warning when starting up with inMemory storage ↵Gregory Noma2020-10-201-40/+43
| | | | engine and writeConcernMajorityJournalDefault=true
* SERVER-48523 Unconditionally check the first entry in the oplog when ↵Bernard Gorman2020-10-112-2/+6
| | | | | | attempting to resume a change stream (cherry picked from commit 694ed4153b9d5424b5d169fea5c68f99d4dfb45a)
* SERVER-50415 rename waitInIsMaster failpoint to waitInHelloPavi Vetriselvan2020-10-061-2/+2
| | | | | (cherry picked from commit 861970ebd4f54a5feb23f82e2db3e9e00b0b32c1) (cherry picked from commit a2716379a0cbd578a314498d84d755892503f6ab)