| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit c4fc9c165026a710809df7751f00c342b5eb27f6)
|
|
|
|
| |
(cherry picked from commit ba957823288d674f34c8345059f35f34cb4dd055)
|
| |
|
|
|
|
| |
setName field
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
response setName field"
This reverts commit 6fc36be1614f4ae641fefd2d5085958025bac3b4.
|
|
|
|
| |
setName field
|
|
|
|
| |
non-cluster mode
|
|
|
|
| |
(cherry picked from commit 836ad1fdfae0243ecf88b4747e9ae4a1cd40a438)
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
(cherry picked from commit 50a1afafc816097ed57804ff7033dffd85dbe160)
(cherry picked from commit ef408a20e6fd71ffc97f3602dd65ef5b03de6a45)
|
|
|
|
| |
(cherry picked from commit 07bfb1286cb6d01d8080ab3b39a1c76dd123e002)
|
|
|
|
|
|
|
| |
Manual backport of 5aa60782cebed045a316b5cd6706be726178ce09 without the
removal of the now-redundant NoTrace variants.
(cherry picked from commit 98471797559d6c907a18d5e4e86a68c459843055)
|
|
|
|
|
|
|
|
| |
new null index keys
(cherry picked from commit 69f94d7172801725bad43dba99ca0e5400eb293c)
(cherry picked from commit 80b311e0a8537a47eb723ed4b6c010b5d1006551)
(cherry picked from commit 5e58d9f0b6e6b42a0c9f4817e88ee1bfb7527d81)
|
|
|
|
|
|
| |
memory from system
(cherry picked from commit acfa4b77e4c03dc73b54baedae652478e43740a5)
|
|
|
|
| |
(cherry picked from commit 8024561b6a73b5b0b56200bdfa3233219ff7fb18)
|
|
|
|
| |
into smaller chunks.
|
|
|
|
| |
(cherry picked from commit 608f38a4fb0de96546dd0aa3eea2f244bbcf2bef)
|
|
|
|
| |
(cherry picked from commit 0f9d6085526921dd8edaffce827ffd07653ee4cd)
|
|
|
|
| |
(cherry picked from commit 29140e49080de0c25482a2b13d1cc51c7b0096bf)
|
|
|
|
| |
(cherry picked from commit 2a8818d4fd7b833b82997c9996aca9eb14471f09)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
sharding task executor refresh and host timeouts.
(cherry picked from commit 8c50e87a82afdb7852fbac32e9bb4dbe7b6f8030)
|
|
|
|
| |
(cherry picked from commit a163a5bc065592507cf8270401dd467bc76d4369)
|
|
|
|
| |
(cherry picked from commit f1bf0b33b4f1ce7bb50f208ef5e2d736ef5eba68)
|
|
|
|
|
|
| |
writeConcernMajorityJournalDefault is not false
(cherry picked from commit 5fe40b170094b08ead496eb694113892bb711373)
|
|
|
|
|
|
|
| |
(cherry picked from commit e7390933e152d8e6f00c90ac341f691780c261fd)
Conflicts:
src/mongo/db/namespace_string_test.cpp
|
| |
|
|
|
|
| |
(cherry picked from commit 76da39708f4d07ed0cf56d986d1c6f3d4353e670)
|
|
|
|
|
|
| |
monitor if neccessary.
(cherry picked from commit ce5e5fdfcad9ee0b3b08954982ded2a4bdfd8ac2)
|
|
|
|
| |
(cherry picked from commit 48cdb7d69246339e097bf23ec0e6b9187a3f9221)
|
|
|
|
| |
(cherry picked from commit a18d0f0c5754c750b44ba05ad7cc26b1f8054625)
|
|
|
|
| |
(cherry picked from commit 993f30454af95b3d9c1a377b96d258849ac0fa46)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit 782672ef01d5903076b13e765cecedaea4981ecf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
(cherry picked from commit f668265318237dc75708a20254e695869487d884)
(cherry picked from commit 876ebee8c7dd0e2d992f36a848ff4dc50ee6603e)
|
|
|
|
|
|
| |
Modified some to work in v3.2 -- e.g. removed getShardPrimary which doesn't exist in v3.2
(cherry picked from commit 2477b8c33b2e8f26fcde47c38c19c3fbb8b99839)
|
|
|
|
| |
(cherry picked from commit cb9e5e2f0a8ea4c47747e9eeac1aa4524092ea57)
|
|
|
|
| |
(cherry picked from commit 6adda9f7dde0bf62b9ff8d27ade8f1bb6e574fec)
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Backport SERVER-30636 b39e21c774d0ff3afeac1730f08d8defed38044d (v3.4) to v3.2
Thanks to Youdong Zhang
|
|
|
|
|
|
| |
better understand the problem if it arises.
(cherry picked from commit 4201d8b14611387edfd448ba91c7195f9c6ec43c)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
... instead of dereferencing a null pointer.
|
|
|
|
| |
(cherry picked from commit 0fef13b45a24c9e5e1fd995fba5f51e8040ec435)
|