summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-31428 correctly check collVersion epoch when short-circuiting ↵Kevin Pulo2017-10-181-2/+6
| | | | metadata refresh
* SERVER-31428 avoid redundant concurrent generation of new chunkMapsKevin Pulo2017-10-181-27/+52
|
* SERVER-30927 Use readConcern afterOpTime for initsync oplog queriesGeert Bosch2017-10-101-0/+4
| | | | | | | (cherry picked from commit f9438895085bf788a7d7276221b5efd865391df7) Conflicts: src/mongo/db/repl/oplog_fetcher.cpp
* SERVER-31271 don't use nspr allocator for js threads for better ASANGabriel Russell2017-10-061-4/+9
| | | | | | | | We can't use the nspr allocator to allocate threads in PR_CreateThread, because under asan instrument the allocator so that asan can track the pointers correctly. This instrumentation requires that pointers be deleted in the same thread that they were allocated in. The threads created in PR_CreateThread are not always freed in the same thread that they were created in. So, we use the standard allocator here.
* SERVER-30842 Don't try to set last optime for client backwards after rollbackSpencer T Brody2017-10-051-1/+17
| | | | (cherry picked from commit cee116558d7771b520c0fd4dd239c0a987dcc2ec)
* SERVER-29772 Add allowUnsafeRenamesDuringInitialSync server parameterJudah Schvimer2017-10-051-3/+14
| | | | (cherry picked from commit 76da39708f4d07ed0cf56d986d1c6f3d4353e670)
* SERVER-29651 Interrupts are caught in implscope functions or by the deadline ↵Ted Tuckman2017-10-046-93/+120
| | | | | | monitor if neccessary. (cherry picked from commit ce5e5fdfcad9ee0b3b08954982ded2a4bdfd8ac2)
* SERVER-31176 Use stderr for interactive password promptsKevin Pulo2017-10-041-2/+2
| | | | (cherry picked from commit 48cdb7d69246339e097bf23ec0e6b9187a3f9221)
* SERVER-19076 handle multiline shard keys in sh.status()Kevin Pulo2017-10-042-55/+87
| | | | | | (cherry picked from commit 18645e165e5f23e899b32cb5ebe45e9750dd3a97) Switch back to calling sh.isBalancerRunning() from printShardingStatus(), because it has the correct behaviour for this version.
* SERVER-31139 Fix invariant failure caused by text index plan enumeration bug.David Storch2017-10-034-57/+65
| | | | (cherry picked from commit 026b5f6f38c883c48d063ac8ee736f7330227281)
* Import wiredtiger: 2d781c8cfeb2a1db8bd93e03ba35b302436e4ff3 from branch ↵Alex Gorrod2017-10-0349-280/+897
| | | | | | | | | | | | | | | | | | mongodb-3.4 ref: 31af5d70a8..2d781c8cfe for: 3.4.10 WT-3263 Allow archive on restart/recovery if clean shutdown WT-3264 Permanent change to disable logging should eventually remove all logs WT-3284 tree-walk restart bug WT-3308 Add statistics tracking around yield loops WT-3351 Recovery assertion failure: old_lognum < lognum WT-3406 Reconciliation is choosing reserved records for writing. WT-3461 Avoid long sleeps when the system clock is adjusted WT-3470 Avoid a metadata cursor open for table open/drop WT-3533 eviction handle walk can race with handle re-open WT-3590 Keep data consistent if writes fail during a clean shutdown
* SERVER-30769 Mongo shell throws 'exception during autocomplete'Mark Benvenuto2017-10-021-10/+16
| | | | (cherry picked from commit 2b44ac6faf81d217a7418f0a55cc6b7f463e9dbe)
* SERVER-30362 MozJS - implement resolve instead of getProperty for native typesMark Benvenuto2017-10-026-51/+39
| | | | (cherry picked from commit 4cb5071ecb94d0789392b1748b49388099a8a2ec)
* SERVER-31273 Use Source/Sink version of snappy functionsJonathan Reams2017-10-024-17/+241
| | | | (cherry picked from commit 59ead734faa8aa51f0c53bf2bd39d0a0247ddf99)
* SERVER-29855 Pull major/minor from sys/sysmacros.hJason Carey2017-10-021-0/+4
| | | | | | | | | | | | | | | | | | | Per newer versions of glibc: ---- error: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-Werror] string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev) ---- Including <sys/sysmacros.h> appears to be the correct solution to quiet the warning (cherry picked from commit e245cac2b3c18015dee8caddd449532785d15c2b)
* SERVER-29287 PCRE 8.41Mark Benvenuto2017-10-02130-540/+775
| | | | (cherry picked from commit 993f30454af95b3d9c1a377b96d258849ac0fa46)
* SERVER-30166 Replace string with explicit std::string. Enables compulation ↵Steven Green2017-10-025-29/+32
| | | | | | | | | when using --use-system-pcre which presusably used to do 'using std::string' in an earlier version of pcre Closes #1167 Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com> (cherry picked from commit b7cebf82bc5e5572308cc3a3fb958a825db91498)
* SERVER-30502 --disableJavaScriptJIT does not disable JITMark Benvenuto2017-10-011-0/+8
| | | | (cherry picked from commit b0338af0677ceb4a768033e179e278b4f3a280f2)
* SERVER-28821 Dont require leak free execution before the leak checker runsAndrew Morrow2017-10-011-1/+0
| | | | (cherry picked from commit e2ede4bf04b485955a2c32cfe1eb12a6ac2a6014)
* SERVER-30830 applyOps checks if collection/database exists before applying ↵Benety Goh2017-09-281-15/+45
| | | | | | CRUD operation (cherry-picked from commit f91a71089a6d465d8f938e8b2a6a561fe5ab5f91)
* SERVER-31049 Fix resolution of a view's default collation on mongos.David Storch2017-09-267-23/+177
| | | | | | | | | | | | (cherry picked from commit 5f8d84b1792839a4b372e8479d0eccba6fd64357) Conflicts: buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml jstests/core/views/views_collation.js src/mongo/db/commands/run_aggregate.cpp src/mongo/db/views/resolved_view.cpp src/mongo/db/views/resolved_view_test.cpp
* SERVER-31204 Make `shardCollection` bypass the cache to read the `sharded` ↵Kaloian Manassiev2017-09-221-6/+12
| | | | database property
* SERVER-30361 Do not accept map/sequence for scalar config valueSara Golemon2017-09-222-0/+81
| | | | (cherry picked from commit 782672ef01d5903076b13e765cecedaea4981ecf)
* Revert "SERVER-29428 Fail gracefully in mongod when ↵Louis Williams2017-09-201-14/+2
| | | | | | featureCompatibilityVersions mismatch" This reverts commit 74cc6a5019576d4bd1c8c2df30b54c4eacc4d484.
* SERVER-29428 Have mongod fail gracefully when featureCompatibilityVersion is ↵Louis Williams2017-09-191-2/+15
| | | | | | of a higher version (cherry picked from commit b35c6fc183c26bc8a6d7cdfc8f5b970f90d60b56)
* SERVER-28637 Remove journal files if journaling is toggled off.Susan LoVerso2017-09-131-0/+7
| | | | (cherry picked from commit 7d5b12eac722a0f3a564e0c7f778e525f06b6bf7)
* SERVER-30117 FeatureCompatibilityVersion::onInsertOrUpdate should only write ↵Maria van Keulen2017-09-123-31/+27
| | | | | | | | | | | to the server parameter on commit (cherry-picked from commit 2f81beb98df291431c36dcd5789828297b8c41a8) Conflicts: src/mongo/db/commands/feature_compatibility_version.cpp src/mongo/db/commands/feature_compatibility_version.h src/mongo/db/op_observer_impl.cpp
* SERVER-15723 Avoid G_X lock for renameCollection within databaseGeert Bosch2017-09-111-1/+9
| | | | | | | (cherry picked from commit 461d91da21c205a6a17476011c38fd4da246f592) Conflicts: src/mongo/db/catalog/rename_collection.cpp
* SERVER-30971: Own "scope" BSONObj in mapReducer3.4.9-rc0r3.4.9Spencer Jackson2017-09-071-2/+2
| | | | (cherry picked from commit f668265318237dc75708a20254e695869487d884)
* Import wiredtiger: 31af5d70a87cf1d99c7275bc8bc01d29e2cb0d2a from branch ↵Thomas Schubert2017-09-0710-33/+89
| | | | | | | | | | | | mongodb-3.4 ref: d2f2eae6d7..31af5d70a8 for: 3.4.9 WT-3329 With a uniform workload and a number of small collections, eviction does a poor job of selecting candidates for eviction. WT-3438 Don't tune eviction thread count when the count is fixed WT-3471 Clear out each session's table cache WT-3499 Checkpoint can miss not yet committed item
* SERVER-30790: Have WiredTigerServerStatusSection take a Global IS lock.Daniel Gottlieb2017-09-012-0/+4
| | | | (cherry picked from commit 1dc2afc8b5ce09d88535049df2ad72adc0434cc8)
* SERVER-27317 Fix closed socket when inserting Decimal128.Henrik Edin2017-08-311-4/+5
| | | | Move try statement so it catches exceptions thrown by QueryMessage constructor.
* SERVER-30875 add requireOwnedObjects() to scoper3.4.8-rc1r3.4.8Jason Carey2017-08-309-3/+79
| | | | | | | | Add a flag to JS scopes that requires that bson objects bound to the scope be owned. This should allow for more easy auditing of scopes that don't explicitly manage lifetime with advanceGeneration. (cherry picked from commit 79b47945a6aae707d44e05669d991d86b157a14b)
* SERVER-30636 (lint)r3.4.8-rc0Nathan Myers2017-08-281-1/+1
|
* SERVER-30636 Detect range deletion write concern timeout correctlyNathan Myers2017-08-281-1/+2
|
* SERVER-20392 remove early chunksize autosplit heuristicKevin Pulo2017-08-251-24/+1
| | | | | | Plus some additional 3.4-specific jstest fixes. (cherry picked from commit ad6a668da49c61a4276749aef7529088dc3524ea)
* SERVER-30643: Ensure thread IDs observed by OpenSSL are uniformly distributedSpencer Jackson2017-08-221-19/+45
| | | | (cherry picked from commit d40503d57d9fd27d1ad59e4d74aa827191d77564)
* SERVER-29714 Added more detailed error logging in validate_locale.cpp to ↵Tyler Kaye2017-08-211-5/+8
| | | | | | better understand the problem if it arises. (cherry picked from commit 4201d8b14611387edfd448ba91c7195f9c6ec43c)
* SERVER-30183 ensure a moveChunk that joins the active moveChunk has the same ↵Esha Maharishi2017-08-151-1/+2
| | | | | | waitForDelete option (cherry picked from commit 0578fe2bf94f66e6f5ddb9954c442b77a10bc202)
* SERVER-30554 relax locking mode in applyOps when applying CRUD-only ops ↵Benety Goh2017-08-101-2/+3
| | | | | | | | | non-atomically This allows concurrent applyOps commands to update the same collection on storage engines that support document level concurrency. (cherry picked from commit bca3f70566991afa2dfb38dc06494b0f6f04fffa)
* SERVER-30189 Reduce calls to allocator for large $in expressionsTess Avitabile2017-08-1012-63/+110
| | | | (cherry picked from commit 50a1afafc816097ed57804ff7033dffd85dbe160)
* SERVER-26239 Improve handling of WT_CACHE_FULL for inMemory storage engineAlex Gorrod2017-08-1010-134/+248
| | | | (cherry picked from commit 8b437e7a762e3ef99848659dc0d68df1e2add0a4)
* SERVER-29802 non-atomic applyOps does not acquire global lockBenety Goh2017-08-081-22/+15
| | | | (cherry picked from commit 8671b6e7ea799312ece35cd90f8cf480d4f56ce8)
* SERVER-29802 clean up applyOps precondition checkingBenety Goh2017-08-081-44/+51
| | | | (cherry picked from commit c6f9f146b15b6f84613ee5f6b97572c6f9f5a1ba)
* SERVER-29802 add applyOpsPauseBetweenOperations fail pointBenety Goh2017-08-081-0/+18
| | | | (cherry picked from commit 948776e76550e4ddf4a3d0f50b729f15bef0a97b)
* SERVER-29802 add applyOps 'allowAtomic' flag.Benety Goh2017-08-081-2/+9
| | | | | | | This flag supports non-atomic application of CRUD operations if set to false. Defaults to true. (cherry picked from commit e7de30308564cead80857592ed27d938f73a91f1)
* SERVER-29802 rename txn to opCtx (apply_ops.cpp)Benety Goh2017-08-082-36/+36
|
* SERVER-30487 Make sharding range deleter yield the WT snapshot after each ↵Kaloian Manassiev2017-08-031-0/+2
| | | | iteration
* Import tools: 4f093ae71cdb4c6a6e9de7cd1dc67ea4405f0013 from branch v3.4r3.4.7-rc0r3.4.7Thomas Schubert2017-07-3124-539/+534
| | | | | | | | | | | | | ref: 29b8883c56..4f093ae71c for: 3.4.7 TOOLS-1109 failes to build on arm64 (syscall.Dup2 not supported) TOOLS-1542 dump and export shouldn't count views before running TOOLS-1563 windows tests are failing after `use mongodb 3.4 "current" tests` TOOLS-1577 update the readme with information about mongoreplay TOOLS-1713 Move mongoreplay evergreen config .evergreen.yml into common.yml TOOLS-1741 mongoimport --uri throws errors when passed Atlas Connection String URI TOOLS-1743 legacy24 and legacy26 dumprestore tests failing on master
* SERVER-29282 Prevent BSON Document size from being exceeded when grouping ↵William Schultz2017-07-312-12/+176
| | | | | | inserts on SECONDARY (cherry picked from commit 1da62c11258aaa91dcff3f0133775aae615e29d4)