summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-24785 backup_restore.js fails when observing FTDC interim filesMark Benvenuto2018-02-201-1/+9
| | | | (cherry picked from commit c4fc9c165026a710809df7751f00c342b5eb27f6)
* SERVER-30114 Add simple slow spinlock monitoringMark Benvenuto2018-02-204-0/+90
| | | | (cherry picked from commit ba957823288d674f34c8345059f35f34cb4dd055)
* SERVER-32241 applyOps reports success even when a nested applyOps fails.Matthew Russotto2018-02-152-7/+4
|
* SERVER-32446 check if CSRS is initiated when reading isMaster response ↵Misha Tyulenev2018-01-311-1/+7
| | | | setName field
* SERVER-31462 Register Database::AddCollectionChange in the correct orderXiangyu Yao2018-01-302-6/+8
| | | | | | | | The wrong order leads to the rollback of CollectionImpl happening after the rollback of KVCollectionCatalogEntry. This means the Collection destructor would call setCappedCallback() on an already destroyed RecordStore. (cherry picked from commit f9e38f099a892964a09d4a80aafd8edfef21594d)
* Revert "SERVER-32446 check if CSRS is initiated when reading isMaster ↵Misha Tyulenev2018-01-301-3/+0
| | | | | | response setName field" This reverts commit 6fc36be1614f4ae641fefd2d5085958025bac3b4.
* SERVER-32446 check if CSRS is initiated when reading isMaster response ↵Misha Tyulenev2018-01-291-0/+3
| | | | setName field
* SERVER-32569 allow config servers and shard replica sets to start in ↵Misha Tyulenev2018-01-298-12/+53
| | | | non-cluster mode
* SERVER-31818 Add server parameter to disable MarkThreadIdleMark Benvenuto2018-01-171-0/+7
| | | | (cherry picked from commit 836ad1fdfae0243ecf88b4747e9ae4a1cd40a438)
* SERVER-32410 Validate User::CredentialData during authSara Golemon2018-01-125-5/+36
| | | | | | | | | | (cherry picked from commit fb8046d813af032d6d51327affbab9b6199fe654) base64::validate() checks removed as they're a 3.6 API. This doesn't materially hurt the fix as the later decodes will fail in a predictable and correct way. clang-format reapplied to match v3.2 formatting.
* Import wiredtiger: 46c2f8fd9b678f4e876bd4fbc888d0040b628045 from branch ↵Luke Chen2018-01-127-59/+53
| | | | | | | | | | | | mongodb-3.2 ref: 827b48a342..46c2f8fd9b for: 3.2.19 WT-3284 Fix tree-walk restart bug WT-3533 Eviction handle walk can race with handle re-open WT-3590 Keep data consistent if writes fail during a clean shutdown WT-3618 WT remove solaris from evergreen builds
* SERVER-30189 Reduce calls to allocator for large $in expressionsTess Avitabile2018-01-116-43/+48
| | | | | (cherry picked from commit 50a1afafc816097ed57804ff7033dffd85dbe160) (cherry picked from commit ef408a20e6fd71ffc97f3602dd65ef5b03de6a45)
* SERVER-32001 Fix unindexing of rollback in unique partial indexesGeert Bosch2018-01-031-0/+1
| | | | (cherry picked from commit 07bfb1286cb6d01d8080ab3b39a1c76dd123e002)
* SERVER-30702 Stop printing stack traces on massert failuresMathias Stearn2017-12-211-3/+2
| | | | | | | Manual backport of 5aa60782cebed045a316b5cd6706be726178ce09 without the removal of the now-redundant NoTrace variants. (cherry picked from commit 98471797559d6c907a18d5e4e86a68c459843055)
* SERVER-32048 Ensure updates that implicitly create an array element generate ↵Tess Avitabile2017-12-1316-5/+379
| | | | | | | | new null index keys (cherry picked from commit 69f94d7172801725bad43dba99ca0e5400eb293c) (cherry picked from commit 80b311e0a8537a47eb723ed4b6c010b5d1006551) (cherry picked from commit 5e58d9f0b6e6b42a0c9f4817e88ee1bfb7527d81)
* SERVER-31380 Add metrics related to tcmalloc acquiring and decommitting ↵Mark Benvenuto2017-12-044-1/+93
| | | | | | memory from system (cherry picked from commit acfa4b77e4c03dc73b54baedae652478e43740a5)
* SERVER-30009: Allow JS functions to be terminated with ';'r3.2.18-rc0r3.2.18Spencer Jackson2017-11-201-0/+8
| | | | (cherry picked from commit 8024561b6a73b5b0b56200bdfa3233219ff7fb18)
* SERVER-32030: Divide SyncTail::oplogApplication OperationContext lifetime ↵Daniel Gottlieb2017-11-181-5/+10
| | | | into smaller chunks.
* SERVER-31589 Replaces OpContext pts with ReplicationCoordinator ptrs.Pavithra Vetriselvan2017-11-179-22/+26
| | | | (cherry picked from commit 608f38a4fb0de96546dd0aa3eea2f244bbcf2bef)
* SERVER-31101 Drop WT table on secondary after collection is droppedKatherine Walker2017-11-172-10/+21
| | | | (cherry picked from commit 0f9d6085526921dd8edaffce827ffd07653ee4cd)
* SERVER-31587 limit scope of OperationContext in ReplBatcherBenety Goh2017-11-171-13/+34
| | | | (cherry picked from commit 29140e49080de0c25482a2b13d1cc51c7b0096bf)
* SERVER-31590 Release unused cursors in the cache before awaiting oplog deletionDon Anderson2017-11-175-4/+24
| | | | (cherry picked from commit 2a8818d4fd7b833b82997c9996aca9eb14471f09)
* SERVER-31440 Fix Connpool HostTimeout raceJason Carey2017-11-161-95/+152
| | | | | | | | | | | | | | | | The executor connection pool host timeout is racy with respect to other code that's unlocked the parent mutex to allow for callback execution. While effort was spent to protect against background threads with active requests and those participating in refresh, after those tasks have been executed we race with callbacks in how quickly they can return. When we lose that race, we destroy the specific pool out from under those callbacks. Fix that by adding an ActiveClient wrapper that ensures a refcount on the specific pool is increased for the lifetime of those calls. (cherry picked from commit c3e174cab7b8e4a19772746942c7e68daa53bc5e)
* SERVER-30482 Verify and enforce good ordering for the values for the ↵Henrik Edin2017-11-011-0/+24
| | | | | | sharding task executor refresh and host timeouts. (cherry picked from commit 8c50e87a82afdb7852fbac32e9bb4dbe7b6f8030)
* SERVER-23440 Rename duplicate metadata_test testsGeert Bosch2017-10-302-2/+2
| | | | (cherry picked from commit a163a5bc065592507cf8270401dd467bc76d4369)
* SERVER-29937 Make sure liveness timeouts cannot be missedJudah Schvimer2017-10-304-14/+45
| | | | (cherry picked from commit f1bf0b33b4f1ce7bb50f208ef5e2d736ef5eba68)
* SERVER-29649 Add startupWarning for replset running with --nojournal when ↵Katherine Walker2017-10-301-0/+20
| | | | | | writeConcernMajorityJournalDefault is not false (cherry picked from commit 5fe40b170094b08ead496eb694113892bb711373)
* SERVER-31516 Fix improper initialization of empty NamespaceString.David Storch2017-10-272-1/+14
| | | | | | | (cherry picked from commit e7390933e152d8e6f00c90ac341f691780c261fd) Conflicts: src/mongo/db/namespace_string_test.cpp
* SERVER-31149 Enable recovery progress messagesXiangyu Yao2017-10-191-0/+1
|
* SERVER-29772 Add allowUnsafeRenamesDuringInitialSync server parameterJudah Schvimer2017-10-052-3/+28
| | | | (cherry picked from commit 76da39708f4d07ed0cf56d986d1c6f3d4353e670)
* SERVER-29651 Interrupts are caught in implscope functions or by the deadline ↵Ted Tuckman2017-10-046-95/+121
| | | | | | 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-53/+85
| | | | (cherry picked from commit a18d0f0c5754c750b44ba05ad7cc26b1f8054625)
* 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-026-29/+248
| | | | | | | | | 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-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-30361 Do not accept map/sequence for scalar config valueSara Golemon2017-09-222-0/+81
| | | | (cherry picked from commit 782672ef01d5903076b13e765cecedaea4981ecf)
* 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)