summaryrefslogtreecommitdiff
path: root/src/mongo
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-53831 Force SpiderMonkey to garbage collect in ReplSetTest.checkOplogsJason Chan2021-02-171-0/+11
| | | | (cherry picked from commit 96fe72c36d370a4067240738f051021d4daf72ce)
* 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-50073 Error message when creating a mixed hashed/not hashed index ↵Dan Larkin-York2021-02-122-4/+10
| | | | should state the problem
* Revert "SERVER-50073 Error message when creating a mixed hashed/not hashed ↵Dan Larkin-York2021-02-112-10/+4
| | | | | | index should state the problem" This reverts commit 2084b2b2baba4028d7cbc0cb3dc22222e25bb6f8.
* SERVER-50073 Error message when creating a mixed hashed/not hashed index ↵Dan Larkin-York2021-02-112-4/+10
| | | | should state the problem
* SERVER-54014 Define a reasonable maxTimeMsOverride for the checkOID requestsAlexandre Bique2021-02-091-0/+3
|
* SERVER-46740 Add missing reference characterBen Caimano2021-02-091-2/+2
|
* SERVER-53394 Make ShardingTaskExecutorPoolReplicaSetMatching default to ↵George Wangensteen2021-02-087-2/+41
| | | | | | disabled for mongod (cherry picked from commit ac99b5cf6202e2941220a1f5f56b8223af1841e9)
* SERVER-47694: fix multikey. againLouis Williams2021-02-084-74/+96
| | | | | | | | | | | | | | | | | | | | | | | | Split the single _isMultikey variable on an IndexCatalogEntry(Impl) into two separate variables: _isMultikeyForReader and _isMultikeyForWriter. _isMultikeyForReader is flipped as early as possible. Readers concurrent with multikey flipping may forgo a possible optimization when their snapshot sees no multikey data. _isMultikeyForWriter is flipped after the storage engine commits a multikey change to the on-disk catalog. At this point, writers may, under some circumstances, optimize away some catalog writes. Move logic for optimizing readers (multikey paths, clearing query cache) outside of the onCommit. Adds a failpoint widenWUOWChangesWindow which sleeps transaction commit and onCommit/onRollback handlers. Have validate assert multikey paths are set correctly for the documents observed during its collection scan. (cherry picked from commit 3566db153ea61fb10d3ef11ea917fc7bc93eac4d)
* SERVER-46686 Explain does not respect maxTimeMSDrew Paroski2021-02-052-3/+21
|
* SERVER-53609 Filter out serverStatus.transactions.lastCommittedTransaction ↵Jason Chan2021-02-043-6/+12
| | | | | | from FTDC (cherry picked from commit 3e5fc29b410b4a0e999f190de5f035e3119f6565)
* SERVER-35649 Retry DNS failures during reconfigA. Jesse Jiryu Davis2021-02-047-18/+49
| | | | (cherry picked from commit 418c61279986a5eaddc66a16b5e288556ad1f6d3)
* SERVER-47869 Add debug logging mechanism to mongos cursor managerIan Boros2021-02-022-8/+235
| | | | | | There is a bug in the mongos cursor manager tracked by SERVER-27796 which has never been reproduced in our testing environment but has been encountered by multiple customers. This change adds a small diagnostic log to the mongos cursor manager which is dumped when a symptom of the bug is found.
* SERVER-46740 establishCursors() must always drain the ↵Ben Caimano2021-02-021-85/+152
| | | | AsyncRequestsSender::_baton
* SERVER-47030 Fix date_time_support to not throw exceptionsJacob Evans2021-01-296-125/+2568
| | | | (cherry picked from commit d169769bba283cd0a1906c81580ff8e7cf7bcd93)
* SERVER-46876 Compaction interrupts on EBUSYGregory Wlodarek2021-01-142-0/+20
| | | | (cherry picked from commit 0ce2fa7273aa7f4c7170c1bba3944efe46b4f043)
* SERVER-43904: Filter unelectable nodes during election handoffXueruiFa2021-01-144-0/+40
| | | | (cherry picked from commit bf614cb57059c74830633855e28b3f4677cd4f8d)
* SERVER-50769 Change streams no longer balk at empty applyOpsr4.2.12-rc0r4.2.12Justin Seyster2021-01-123-4/+333
| | | | (cherry picked from commit e9122ba5078eca4fbc7ea858221dba6af00e90a9)
* SERVER-43739 Always send SNI regardless of allowInvalidHost and setup proper ↵Sara Golemon2021-01-123-7/+20
| | | | | | policy for validation (cherry picked from commit ca6f181a96dcb51c159d53062866c31bb62a1b53)
* SERVER-53703: Use WTKVEngine to compute the all durable timestamp.Daniel Gottlieb2021-01-121-1/+1
|
* SERVER-48471 Hashed indexes may be incorrectly marked multikey and be ↵Louis Williams2021-01-125-54/+6
| | | | | | | ineligible as a shard key (cherry picked from commit 8fa255bc05cd99ff649bd0ef9407417b7e439b5e) (cherry picked from commit 39f10d9d3bf7783593dbc7083d1afaec7369c4ca)
* SERVER-40090 DISTINCT_SCAN is only used when certain format of $group _id is ↵Katherine Wu2021-01-081-3/+18
| | | | | | specified (cherry picked from commit 20c0cc8c93f9ce27207067b0776bad08f84b47d0)
* SERVER-52879 Close expired idle sessions outside of the cache mutexGregory Wlodarek2021-01-081-1/+9
| | | | (cherry picked from commit d517928d5b34e5988eea9fc15e1c2db4c3ff8d77)
* SERVER-40361 Don't store debug info once plan cache size grows largeDavid Storch2021-01-0511-298/+424
| | | | | | | | | | | | | | | Introduces a new setParameter, 'internalQueryCacheMaxSizeBytesBeforeStripDebugInfo'. When the cumulative size of a mongod's plan caches exceeds this threshold, additional plan cache entries are stored without any debug info. This should help to prevent problems where the plan caches collectively consume too much memory. The default setting of the parameter is 0.5 GB, but it can be configured by the operator at startup or at runtime. (cherry picked from commit eeb4b8aaffbcbb236b2d02e35dad919b4fa0aa80) (cherry picked from commit 65ad41f1df99bbdfabeb8235351d9c21f9eea142)
* SERVER-51526 Hybrid index builds can miss writes and crash in the event of a ↵Louis Williams2021-01-051-18/+18
| | | | | | | well-timed WriteConflictException (cherry picked from commit c53dc2c22b5dbecb561bda893d374085de5c54d1) (cherry picked from commit 832f6f4e90ec9e6bd072b3fc94cd3cf11b8021fd)
* SERVER-51886 $lookup + $merge pipeline may fail to resolve views correctly ↵Mihai Andrei2021-01-042-20/+51
| | | | | | | when collection names collide (cherry picked from commit 045829020fb4a3972b316b1ad60e9ed2f285b092) (cherry picked from commit dcd06945691b7cdd520b4c28428d941ee685104d)
* SERVER-52919 Wire compression not enabled for initial syncAmirsaman Memaripour2020-12-221-1/+16
| | | | (cherry picked from commit 762eb95cd160aab9bec295b1e46d3c9a8ab505e2)
* SERVER-52950 recoverFromOplogAsStandalone mode must not start oplog ↵Gregory Wlodarek2020-12-181-2/+10
| | | | truncater thread
* SERVER-34741 Move $match in front of $group if condition is on group keyGeorge Wangensteen2020-12-166-8/+189
| | | | (cherry picked from commit 55e76198b1e41b5dbd5868d2ed8b914da29f0f29)
* SERVER-53026 Fix "resync" commandA. Jesse Jiryu Davis2020-12-142-7/+16
| | | | | (cherry picked from commit a574d23ec0b7d06b8d872bf64136308f541a796d) (cherry picked from commit 68bf17aa3b19d0b7f53b7a1b6fe1ebbafdf558d2)
* SERVER-48742 Modified 4.4 backport to remove dependence on structured loggingJames Wahlin2020-12-101-6/+3
|
* SERVER-48742 Log changes to profiler settingsAndrii Dobroshynskyi2020-12-101-2/+28
| | | | (cherry picked from commit 0d30729722165f15e52db2c02ebb56cfd1c6ccc1)
* SERVER-52929 Correctly handle compound indexes with 32 keysLouis Williams2020-12-102-6/+27
| | | | | (cherry picked from commit 957ddd678dbd49a96318a13e8f669567e4eba3ab) (cherry picked from commit 2faadd670bd54e7112c4fec6f6abc011d38b912c)
* SERVER-52654 HMAC keys monitoring thread should never sleep longer than 20 daysJack Mulrow2020-12-102-19/+59
| | | | (cherry picked from commit e804031ae4ea69c2cfbfcca47202fcc468d826b2)
* SERVER-50417 Change notMasterUnacknowledgedWrites to ↵Ali Mir2020-12-101-5/+5
| | | | | | notPrimaryUnacknowledgedWrites in serverStatus (cherry picked from commit 0927e74e9d5dfb47c4f02d21029f68a3b17764b7)
* SERVER-50416 Change notMasterLegacyUnacknowledgedWrites to ↵Ali Mir2020-12-101-5/+5
| | | | | | notPrimaryLegacyUnacknowledgedWrites in serverStatus (cherry picked from commit 759787fd5a1a28ed3293a869e9e1b1e11cb6337a)
* SERVER-52618James Wahlin2020-12-082-7/+54
|
* SERVER-51858 Fix curl lockingMark Benvenuto2020-12-081-6/+44
|
* SERVER-47863 Add fields to initial sync progress metricsJason Chan2020-12-079-18/+255
|
* SERVER-52975 Fix use of 'onRollback' callback for collection validator ↵Mihai Andrei2020-11-301-4/+6
| | | | | | options in 'collection_impl.cpp' (cherry picked from commit 459e61631a0f806962fe481aed80363d2d438a04)
* SERVER-51262 Rename skipCheckingForNotMasterInCommandDispatch to ↵Huayu Ouyang2020-11-293-7/+7
| | | | | | | skipCheckingForNotPrimaryInCommandDispatch (cherry picked from commit 3cf1349ab81c57d5b2f2002b030c032094a308f5) (cherry picked from commit 6082fef7f23cb6b1ab2228c1f636263b3809d076)
* SERVER-50267 Set output limit for rawMongoProgramOutput()Ruoxin Xu2020-11-262-2/+8
| | | | (cherry picked from commit 30acdea3aa54dab658cb76908a8cd9bf35e7762f)
* 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-50049 assert.soonNoExcept() should not access ↵Suganthi Mani2020-11-231-12/+21
| | | | | | TestData.traceExceptions for non-resmoke tests. (cherry picked from commit d57c783b60d548c3173058d70343537b6df6c1e9)
* SERVER-52680 Start replication when leaving REMOVED stateA. Jesse Jiryu Davis2020-11-201-2/+13
| | | | (cherry picked from commit 73ab98a9094de18b82e596e8d1d0bf311858548b)
* SERVER-50445 Return the value in double when NumberLong subtraction ↵Arun Banala2020-11-202-3/+41
| | | | | | | overflows in ExpressionSubtract (cherry picked from commit 3518bd82e49b6941ee7a2f3a868df40114b0d8fc) (cherry picked from commit 309b631dd16e90e1f3fb8bf3567df1fedc92d715)
* SERVER-43847 Make ReplSetTest's stepUp function resilient to slow machines.Suganthi Mani2020-11-202-32/+64
| | | | | | | | (cherry picked from commit c5a53e4882bd316dcb37141ccfab56f5acaec8f4) SERVER-49187 Make ReplSetTest.stepUp() robust to election failures. (cherry picked from commit 311b7982f61009fd08bd7b76b1638d62cc8703de)
* SERVER-47812 Secondaries persist wildcard multikeypaths out of orderBernard Gorman2020-11-2021-124/+408
| | | | | (cherry picked from commit bd320bc2d10cff75756a2c95986cc81ec8a5e7c7) (cherry picked from commit 48089c01bcccc193b1d8dd3c50ae5cb3e072ebed)
* SERVER-32960 Make $mod truncate float values consistently and use long long ↵Nikita Lapkov2020-11-194-8/+75
| | | | for its arguments
* SERVER-46393 Always check client last operation time when computing ↵Cheahuychou Mao2020-11-151-4/+0
| | | | | | operationTime to append to the response (cherry picked from commit 679d1e1028ddbdd1ac5778f3e0ab0cb3ffd5ee27)