summaryrefslogtreecommitdiff
path: root/src/mongo/db
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-47465 remove unused functions from indexbuildentryhelpers namespaceBenety Goh2020-04-214-330/+14
| | | | (cherry picked from commit 8baf8f1b16ead433c35d7b705d86725da6c7c4ff)
* SERVER-47440 Stop parsing unused parameter configdb in SetShardVersion commandBlake Oler2020-04-211-19/+0
|
* SERVER-47600 Clear _receivingChunks on setFCV after metadata refreshGregory Noma2020-04-215-0/+30
| | | | (cherry picked from commit 5943a22ad1a7bc8c8bc0a855087a9992ef4a2524)
* SERVER-47356 Remove invariant that fast count is 0 when creating an index on ↵Louis Williams2020-04-201-1/+1
| | | | | | an empty collection (cherry picked from commit ff2a56c0105516c74a297aed2556fa628c8862f6)
* SERVER-46989 Index builds should hold RSTL to prevent replication state ↵Louis Williams2020-04-205-176/+263
| | | | | | | | | | changes after deciding to commit or abort. This also elminates deadlocks caused by an index builder holding an RSTL IX lock while waiting for a collection X lock or holding a collection X lock and waiting for an RSTL IX lock. (cherry picked from commit fca4421ffab68ae0b62c36a7505e6045428ce2e5)
* SERVER-46514 Normalize host selection for mirrored readsAmirsaman Memaripour2020-04-204-20/+79
| | | | (cherry picked from commit b483650696b6d67dd3c651b3e8cd2926d3776ff3)
* SERVER-46514 Allow mirroring maestro to leave GC for the client threadAmirsaman Memaripour2020-04-205-13/+441
| | | | (cherry picked from commit 6ad41d820bc3827aa295c37f14ef0420f44d3f8a)
* SERVER-46953 Log number of operations killed by shutdownPavi Vetriselvan2020-04-201-0/+5
| | | | (cherry picked from commit 9f01fb4c7560fa4937a0fada1b4517fff6cc33dc)
* SERVER-47410 Preserve error codes in ShardServerCatalogCacheLoaderGregory Noma2020-04-201-13/+10
| | | | (cherry picked from commit be3eeca3c9802293b4a18cfae2d28c6cd41dfa29)
* SERVER-47545 Allow isSelf to consider any IP address in the 127.0.0.1/8 ↵William Schultz2020-04-201-0/+23
| | | | | | range as pointing to the loopback (cherry picked from commit 5d27d869ef502efc0e6bb27f028676ed479efaa3)
* SERVER-47438 Cloner::_copyIndexes() will not recreate dropped collectionBenety Goh2020-04-171-26/+2
| | | | (cherry picked from commit 44af4b2915cef5afcfe63104fb902e4519ffa889)
* SERVER-47630 Reserving a slot in the oplog for addIndexBuildEntry can cause ↵Gregory Wlodarek2020-04-171-7/+16
| | | | | | an out-of-order oplog insertion for ephemeralForTest (cherry picked from commit c1fad54e1821500fec2121d2e31a591069bc053d)
* SERVER-47438 Cloner::_copyIndexes() assumes collection is emptyBenety Goh2020-04-172-82/+7
| | | | (cherry picked from commit 03793e2a6a59566858f993598a3eb924def58a1a)
* SERVER-47438 Cloner::copyDb() creates indexes before copying documentsBenety Goh2020-04-171-17/+17
| | | | (cherry picked from commit 555a44b7bb6f0fea7e215283fa805f6ae6a6e850)
* SERVER-47438 Cloner::copyDb() always copies the same database from a remote hostBenety Goh2020-04-173-184/+106
| | | | (cherry picked from commit fc99a1a80f0d4cc063d47db3cacbba462bf69154)
* SERVER-47464 Prevent SetIndexCommitQuorum cmd from changing commit quorum on ↵Suganthi Mani2020-04-172-1/+68
| | | | | | to off & vice versa. (cherry picked from commit 4ab404081f02d52285371c5a3b8520429a74e047)
* SERVER-45933 index builds support maxTimeMS through createIndexes interruptionsBenety Goh2020-04-171-9/+0
| | | | (cherry picked from commit f889e85da61e90586d032e8b706bf9506919f253)
* SERVER-47438 remove CloneOptions. Cloner::copyDb() accepts db name and ↵Benety Goh2020-04-173-98/+83
| | | | | | sharded collection names (cherry picked from commit a01a444b062f7911e47d9ce3b6b4206622e96dc9)
* SERVER-47599 Index builder votes for ready to commit after first drain phase.Suganthi Mani2020-04-171-1/+1
| | | | (cherry picked from commit fb3b957b4379332fe21cbf156a832ee935cc36ca)
* SERVER-47438 remove CloneOptions::slaveOkBenety Goh2020-04-172-13/+2
| | | | (cherry picked from commit bf5c17f39148ee5c0c113d4236b76b7dd919c877)
* SERVER-47517 Secondary nodes will always try to vote for committing the ↵Gregory Wlodarek2020-04-171-7/+27
| | | | | | index build, even if the commit quorum is off (cherry picked from commit 5713af29cd78dd8322c25c8d0b13f78ed6de34ae)
* SERVER-47461 Remove commit quorum field from StartIndexBuild oplog entry.Suganthi Mani2020-04-1718-61/+8
| | | | (cherry picked from commit 49d1262c366d439e6dd34b586c14ad64e8a764ab)
* SERVER-47438 remove Cloner::copyCollection() and Cloner::setConnection()Benety Goh2020-04-172-127/+0
| | | | | | These functions were previously required by rollback via refetch. (cherry picked from commit 6388b971ca8df0d0e4b2fe4ccfc4ecc9a10decca)
* SERVER-47438 remove unused CloneOptions fieldsBenety Goh2020-04-172-68/+46
| | | | | | Most recent references were removed in commits f53a88a57da5788b355cb3037061372a706ccf0d and 64e649a622b5ac4c1bfad0933132dc7d994b9458. (cherry picked from commit eafda6eb37ce6681285a5fbc650b0c1f9b8a4924)
* SERVER-47438 remove unused function RollbackSource::copyCollectionFromRemote()Benety Goh2020-04-178-91/+0
| | | | | | Last reference was removed in commit 65e6cd5142082eab94a561036a53abdf60139155. (cherry picked from commit d7f09737cb3354b45368c373169156140b933773)
* SERVER-47430 Update TLA+ to only vote for candidate with same config version ↵Siyuan Zhou2020-04-171-7/+5
| | | | | | and term as self (cherry picked from commit 6e182b5c907f2965516b852311c9be6da05932d8)
* SERVER-47219: Ensure downgrade_after_rollback_via_refetch only downgrades ↵Daniel Gottlieb2020-04-171-16/+18
| | | | after clean shutdown.
* SERVER-47444 Don't wait for readConcern on txn stmts with InvalidOptionsMaria van Keulen2020-04-161-7/+11
| | | | | | | This fixes a bug where transaction statements specifying their own individual readConcern could still wait for readConcern. (cherry picked from commit d1094411f42197b450c466edcdfa2972947df53f)
* SERVER-46443 MongosProcessInterface::fieldsHaveSupportingUniqueIndex should ↵Jack Mulrow2020-04-162-12/+8
| | | | | | read sharded indexes from a shard with a chunk (cherry picked from commit 1467c9ba4781aea4ba1663b469576cfb9a74d57b)
* SERVER-46699 Report the oplog visibility timestamp in FTDCJamie Heppenstall2020-04-162-1/+7
| | | | (cherry picked from commit 454e1823bbbe7cc25d6f34856913d8161d729e4b)
* SERVER-47459 Election participant metrics skip dry runsA. Jesse Jiryu Davis2020-04-152-18/+67
| | | | (cherry picked from commit fab4def90426816057138a102490b3b0df0bf6dc)
* SERVER-47435 Incrementing topologyVersion for FCV change must update ↵Tess Avitabile2020-04-151-1/+2
| | | | | | awaitingTopologyChanges (cherry picked from commit ab61e34c1ad83290e7bbf5a902f09042d80ec493)
* SERVER-46560 Make abort index build deterministicLouis Williams2020-04-1521-1304/+849
| | | | | | | | | | | | | | This redesigns user index build abort to have the following behavior: - Take a collection X lock to stop the index build from making progress - If we are no longer primary, return an error - Check whether we can abort the index build (i.e. it is not already committing or aborting) - Delete the index catalog entry and write the abortIndexBuild oplog entry in a WUOW - Interrupt the index builder thread - Wait for the thread to exit - Release locks (cherry picked from commit 3d929ed533a72446353b18b5d60770aed33b58f1)
* SERVER-46976 Enable commit quorum in rollback_waits_for_bgindex_completion.jsLouis Williams2020-04-152-5/+5
| | | | (cherry picked from commit 2f9f301e0247b059ba652c2488a450f1fbd1d77b)
* SERVER-46557 Guarantees the commit quorum value gets persisted before start ↵Suganthi Mani2020-04-1517-251/+398
| | | | | | of the index build. (cherry picked from commit 4c41ed37fd58c4e4d4d2707f63f797f23ff9b486)
* SERVER-46937 Aggregation stage serverStatus counters incorrectly count ↵Mihai Andrei2020-04-152-9/+12
| | | | | | update pipelines (cherry picked from commit 1740d32001cf77ce0dab6a1b1ec14d4b5be8bfef)
* SERVER-47252 remove DatabaseIndexBuildsTracker and CollectionIndexBuildsTrackerBenety Goh2020-04-156-473/+0
| | | | (cherry picked from commit 8c1eac6d1a769c7852125fedeb9d2f307cae15ba)
* SERVER-47252 IndexBuildsCoordinator stops using CollectionIndexBuildsTrackerBenety Goh2020-04-154-102/+79
| | | | (cherry picked from commit f91e5e8be90a58e52a7bfbf1b4d1a74623da4b9b)
* SERVER-47252 IndexBuildsCoordinator stops using DatabaseIndexBuildsTrackerBenety Goh2020-04-152-55/+27
| | | | (cherry picked from commit 191f5e0b2f5cfd90cfc15c581d7f73b0a766118e)
* SERVER-47252 ↵Benety Goh2020-04-141-6/+13
| | | | | | IndexBuildsCoordinator::waitForAllIndexBuildsToStopForShutdown() stops using DatabaseIndexBuildsTracker (cherry picked from commit 3a3c57881f321a8434c350166fd34beb672033ed)
* SERVER-46799 Update sharding log lines to adhere to LOGV2 style guide (files ↵Esha Maharishi2020-04-146-91/+120
| | | | missed in the first pass)
* SERVER-47252 IndexBuildsCoordinator shutdown and index build wait functions ↵Benety Goh2020-04-1413-22/+32
| | | | | | accept OpCtx (cherry picked from commit 80499062d182e9f4a29957d6fde0189ec4851f84)
* SERVER-47328 optimize MR by avoiding repeated creation of RuntimeConstantsIan Boros2020-04-143-28/+21
|
* SERVER-47482 Shut down migrationutil executorMatthew Saltz2020-04-141-0/+7
| | | | (cherry picked from commit ffa39df7e8eec01b3a9b41fd141ca8d0f8ad974c)
* SERVER-47436 Make shards validate shardKey in dataSize commandCheahuychou Mao2020-04-141-2/+24
| | | | (cherry picked from commit 59e005fea0e1ca575083ded8c02c518048fb8af0)
* SERVER-47400 Disallow createCollection/Indexes on system colls in txnsMaria van Keulen2020-04-142-0/+9
| | | | (cherry picked from commit 76d4548a751a56c8faf1887114685b540203a650)
* SERVER-46595 ignore interruptions in OpCtx when starting index buildBenety Goh2020-04-141-1/+4
| | | | (cherry picked from commit 51a424b3dcd50425fd4e782b6bc072533f211c12)
* SERVER-47119 Initialize replica set shard server nodes without a ↵William Schultz2020-04-142-1/+13
| | | | ReplSetConfig term
* SERVER-47119 Revert SERVER-46571William Schultz2020-04-145-19/+18
| | | | This reverts commit a2eeeedb3e358f9a71042a2ff752b67844d4dcf7.
* SERVER-47195 Allow configuring failCommand failpoint to activate only for a ↵Spencer T Brody2020-04-131-0/+8
| | | | | | given appName (cherry picked from commit 021db11a119f431d25afef650735cbf61a823a40)