summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Import wiredtiger: 827b48a34227243c809d41fac3dc909ed46b0c5e from branch ↵r3.2.17-rc0r3.2.17Kelsey Thomas Schubert2017-09-2027-188/+370
| | | | | | | | | | | | | | | | | | | | | | | mongodb-3.2 ref: b8f590dea0..827b48a342 for: 3.2.17 WT-3158 Fix structure layout on Windows. WT-3219 Make the clang-analyzer job fail when lint is introduced WT-3293 Make internal symbols externally visible WT-3297 support the gcc/clang -fvisibility=hidden flag WT-3327 Checkpoints can hang if time runs backward WT-3331 Test format aborted due to time rollback WT-3345 Improve rwlock scaling WT-3354 Coverity issues 1375904-1375907 WT-3356 Use atomic reads of rwlocks and handle missing signals WT-3362 Cursor opens should never block for the duration of a checkpoint WT-3369 WT_CURSOR->uri should always match the URI used to open the cursor WT-3373 Access violation due to a bug in internal page splitting 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-30971: Own "scope" BSONObj in mapReduceSpencer Jackson2017-09-201-2/+2
| | | | | (cherry picked from commit f668265318237dc75708a20254e695869487d884) (cherry picked from commit 876ebee8c7dd0e2d992f36a848ff4dc50ee6603e)
* SERVER-22512 Remove unnecessary calls to stopBalancerKaloian Manassiev2017-09-202-4/+4
| | | | | | Modified some to work in v3.2 -- e.g. removed getShardPrimary which doesn't exist in v3.2 (cherry picked from commit 2477b8c33b2e8f26fcde47c38c19c3fbb8b99839)
* SERVER-26389 Make javascript periodic interrupts disabled by defaultJonathan Reams2017-09-152-5/+9
| | | | (cherry picked from commit cb9e5e2f0a8ea4c47747e9eeac1aa4524092ea57)
* SERVER-23191 group should pass an owned BSONObj to the reduce functionJonathan Reams2017-09-111-1/+2
| | | | (cherry picked from commit 6adda9f7dde0bf62b9ff8d27ade8f1bb6e574fec)
* SERVER-30943 Check return value of JS_Enumerate in ObjectWrapper/ValueWriterJonathan Reams2017-09-081-1/+6
|
* SERVER-30875 add requireOwnedObjects() to scopeJason 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)
* Merge pull request zyd_com/SERVER-30636Nathan Myers2017-08-291-2/+3
| | | | | Backport SERVER-30636 b39e21c774d0ff3afeac1730f08d8defed38044d (v3.4) to v3.2 Thanks to Youdong Zhang
* 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-30049 applyOperation_inlock() allows exceptions from ↵Benety Goh2017-08-111-5/+1
| | | | | | | | | | Collection::insertDocument() to percolate to caller This specifically addresses the case where a WriteConflictException is thrown from insertDocument(). Converting this exception into a status will not allow the write conflict retry loops in callers to work properly. (cherry picked from commit f0d41183e735546c83ff96d7d5afc11b9c94cb9f)
* SERVER-30124 Move statics from populateDocumentWithQueryFields.Justin Seyster2017-08-081-3/+9
| | | | | | | | | | | We're seeing a test failure that could be explained by non-thread safe initialization of function-level static variables in the version of the C++11 spec used by the VS2013 compiler. https://blogs.msdn.microsoft.com/oldnewthing/20040308-00/?p=40363 Moving those variables into file scope should ensure that they get initialized safely.
* SERVER-30333 Uassert if chunk metadata references an invalid shardKaloian Manassiev2017-07-281-0/+3
| | | | ... instead of dereferencing a null pointer.
* SERVER-26227 Increase waitForState timeouts in replicaset testsJudah Schvimer2017-07-211-1/+1
| | | | (cherry picked from commit 0fef13b45a24c9e5e1fd995fba5f51e8040ec435)
* SERVER-29540 awaitNodesAgreeOnPrimary logs why it retriesr3.2.16-rc0r3.2.16Judah Schvimer2017-07-141-0/+16
| | | | (cherry picked from commit fc752b3b94b5d821e5f1861c05c27c8a5dc550cd)
* SERVER-30132 Storage Node Watchdog needs to check journal directoryMark Benvenuto2017-07-131-1/+1
|
* SERVER-29947 Implement Storage Node WatchdogMark Benvenuto2017-07-121-0/+1
| | | | (cherry picked from commit eb333b92cae5e71affb0fe76cd388801afa8e79f)
* SERVER-29568: Create opensslCipherConfig setParameterSpencer Jackson2017-07-112-0/+32
| | | | (cherry picked from commit b964786f0ce519caf214f4c321d2a2abf9580365)
* SERVER-28997: Limit SCRAM-SHA-1 cache's use of Secure MemorySpencer Jackson2017-07-1112-72/+735
| | | | | (cherry picked from commit 7ca9cebf2623865fd0077f90baf61132d866a674) (cherry picked from commit 8a4d00991cd1721240f13c8713d7d819baa1763e)
* SERVER-28052 Make SHA1Hash a full fledged classRandolph Tan2017-07-1110-301/+377
| | | | | (cherry picked from commit 71ce59a2648185c8e1ccd5b3a1af6ff05dbac7d7) (cherry picked from commit 2e686c169d07ed06530aa650ced310ee7b1adfc6)
* SERVER-26952: Cache SCRAM-SHA-1 ClientKeySpencer Jackson2017-07-1125-332/+514
| | | | (cherry picked from commit 47da0b53f9cd27aeec1d2822780784866269a47d)
* SERVER-28578 When doing an upgrade from PV0 to PV1, we should not return ↵Matthew Russotto2017-06-272-8/+15
| | | | | | from the reconfigure until the lastVote document is written. (cherry picked from commit 62f52d2eba138a8729ac31b589d87bde6f1b5cf5)
* Import wiredtiger: b8f590dea0400666ef26e21adf11c5997bb5ef1b from branch ↵r3.2.15-rc0r3.2.15Alex Gorrod2017-06-272-4/+30
| | | | | | | | | mongodb-3.2 ref: 534677a2ea..b8f590dea0 for: 3.2.15 WT-3373 Access violation due to a bug in internal page splitting
* SERVER-25789 Reset WiredTiger sessions before caching.Michael Cahill2017-06-221-2/+5
| | | | (cherry picked from commit 8ef6560b08267ad7b073a21dab19d1618ba02efc)
* SERVER-27347 For table drop, only close relevant URIs.Don Anderson2017-06-216-23/+80
| | | | (cherry picked from commit b9739a9b4bf02790d427a8e4910629f8c378c5fb)
* Import wiredtiger: 534677a2eab033bf817588704417bb25f0d19551 from branch ↵Thomas Schubert2017-06-208-46/+72
| | | | | | | | | | | mongodb-3.2 ref: 6da948fe3d..534677a2ea for: 3.2.15 WT-3158 Fix structure layout on Windows. WT-3362 Cursor opens should never block for the duration of a checkpoint WT-3369 WT_CURSOR->uri should always match the URI used to open the cursor
* SERVER-26002 Fix compile on 3.2Jonathan Reams2017-06-201-2/+2
|
* SERVER-26002 Fix lint on 3.2Jonathan Reams2017-06-191-10/+11
|
* SERVER-29237 add maxConnecting in asio connpoolJason Carey2017-06-156-6/+249
| | | | | | | | | | | | | A new connection pool option which controls that rate at which we add new connections. It changes behavior so that only N connections can be in the processing state at any one time (in setup/refresh). More connections will be added, if needed, as each new connection completes, fails or times out. available in mongos via ShardingTaskExecutorPoolMaxConnecting, defaults to unlimited. (cherry picked from commit f75fb8f5eee2b91599334681ab2b1ebcf20b491c)
* SERVER-28877 Fix cancel race which can cause crashes during elections.Matthew Russotto2017-06-153-0/+92
| | | | (cherry picked from commit 7844ffc9be25e16daa9615949941b8749ad3de9f)
* SERVER-26002 Make sure javascript sleep isn't interruptedJonathan Reams2017-06-1410-22/+130
|
* Import wiredtiger: 6da948fe3d4dd7262cbd0528d66867f276ce811d from branch ↵r3.2.14-rc1r3.2.14Alex Gorrod2017-06-0843-1091/+1361
| | | | | | | | | | | | mongodb-3.2 ref: f5c08e2b5f..6da948fe3d for: 3.2.14 WT-3293 Make internal symbols externally visible WT-3345 Improve rwlock scaling WT-3354 Coverity issues 1375904-1375907 WT-3356 rwlock assertion failure on PPC
* SERVER-28924 Change DatabasesCloner to use 'nameOnly' version ofWilliam Schultz2017-06-021-2/+4
| | | | | | listDatabases (3.2 backport of commit 222729e604843568bb7100be1d94b28853c2da8d)
* SERVER-27701 fix race in AsyncResultsMerger error handlingr3.2.14-rc0David Storch2017-05-262-2/+45
| | | | (cherry picked from commit 5a35a6c425b815ecf7795d8e2706b9f3e82c7ce6)
* SERVER-29365 make no-op applyOps wait for majority writeConcern before returningDianna Hohensee2017-05-261-16/+25
|
* SERVER-29152 Do not cache logging ostream in threadlocal when in other ↵samantharitter2017-05-254-19/+48
| | | | thread-specific contexts
* SERVER-26452: WCE retry on renameCollection. Address possible dassert in ↵Daniel Gottlieb2017-05-255-24/+35
| | | | | | | | | | | | | | | | | | | | | | | | dropIndex. Add a write conflict retry loop around the fast-path for renameCollection, when the source and target collection are in the same database. Additionally, when indexes are being dropped, remove them from the collection info cache before removing them from the catalog (`_deleteFromDisk`). Removing an index from a catalog can result in a WriteConflictException that triggers the rollback on the IndexRemoveChange. The rollback adds the index back into the collection info cache, which dasserts the index does not exist. Lastly, this patch separates out the WTWriteConflictException failpoint into one for modifications (WT_CUSOR::insert/remove etc...) and one for reads (WT_CURSOR::search/next etc...). The new failpoint is named `WTWriteConflictExceptionForReads`. Commands that only roll a die for the read failpoint include `listCollections` and `validate`. This distinction is useful for resmoke/js tests that are not resilent to those commands failing with a write conflict. (cherry picked from commit bc1a7d9aa34f3c7e61f89afa481e677e4981437d)
* SERVER-28996 SERVER-28996 Fix memory leak in MongoURI if auth failsJonathan Reams2017-05-241-3/+3
| | | | (cherry picked from commit cb893ef71d66bea22dd79553bd0080549f794c16)
* SERVER-28323 Don't pass JavaScript scopes a function ID numberSpencer Jackson2017-05-236-60/+35
| | | | (cherry picked from commit d20c74fe700d15ea555f9c6cae916b522005eec7)
* SERVER-22582 Wrap assert.soon bodies in try catch in replsettest.jsJudah Schvimer2017-05-221-9/+9
|
* SERVER-28100 ReplSetTest.awaitNodesAgreeOnPrimary() accepts an optional ↵Benety Goh2017-05-191-31/+30
| | | | | | expectedPrimaryIndex (cherry picked from commit 8d146d21661cf755fc15b7eefec147ce85ffde8c)
* SERVER-25764 Interrupt javascript periodically.Jonathan Reams2017-05-046-12/+45
| | | | (cherry picked from commit 1875792bdc435c695aca1b6b57be7486e7df70c5)
* SERVER-28014 Add logging to expose non-SSL connections when SSL is preferred ↵samantharitter2017-05-044-1/+28
| | | | but not required
* SERVER-22053 Insertion of Array with undefined/null componentsWaley Chen2017-05-042-7/+35
| | | | | | | (cherry picked from commit af198512c7dbb00442fb5115aeac661bf85535c8) lint fix (cherry picked from commit 9c3c7d8328d50d45206d310d5c63f0197f49ab39)
* SERVER-23684 Busy wait for socket to become closed in stream testAndrew Morrow2017-05-041-1/+5
|
* SERVER-26781 Building with openssl 1.1.0Marek Skalický2017-05-032-15/+30
| | | | | | | Closes #1133 Signed-off-by: Spencer Jackson <spencer.jackson@mongodb.com> (cherry picked from commit f257e51df267110a14b489fbfbfbe07896096ad1)
* SERVER-25335 SERVER-26489 avoid group and other permissions when creating ↵Kevin Pulo2017-05-031-2/+12
| | | | | | | | | | | | | .dbshell history file Cherry-picked from: * 035cf2afc04988b22cb67f4ebfd77e9b344cb6e0 * f2c3376d70a3540d3bee5e32abe9d5517f571369 * 4a431ceb4cb1d986ceb54ee26ca86915ef9ffd42 With additional adjustments to handle the inability to pass environment variables to runProgram().
* SERVER-28710 Unify error handling between send and sendmsg pathsAndrew Morrow2017-05-011-9/+1
| | | | (cherry picked from commit 6ce4f12e208e3f02a6de1ba79158b2d181e60bd8)
* SERVER-22921 Log network interface ASIO response at log level 2samantharitter2017-05-011-0/+3
|
* SERVER-28787 Invariant failure with QueryOption_AwaitDataNick Zolnierz2017-04-212-14/+6
|
* SERVER-27231 added disableMaxSyncSourceLagSecs failpoint to turn off ↵Benety Goh2017-04-212-17/+32
| | | | | | re-evaluating sync sources, for jstests that manipulate chaining (cherry picked from commit ae2f197bcb46ee961ebadbccba18154f94a09f56)