| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit fc752b3b94b5d821e5f1861c05c27c8a5dc550cd)
|
| |
|
|
|
|
| |
(cherry picked from commit eb333b92cae5e71affb0fe76cd388801afa8e79f)
|
|
|
|
| |
(cherry picked from commit b964786f0ce519caf214f4c321d2a2abf9580365)
|
|
|
|
|
| |
(cherry picked from commit 7ca9cebf2623865fd0077f90baf61132d866a674)
(cherry picked from commit 8a4d00991cd1721240f13c8713d7d819baa1763e)
|
|
|
|
|
| |
(cherry picked from commit 71ce59a2648185c8e1ccd5b3a1af6ff05dbac7d7)
(cherry picked from commit 2e686c169d07ed06530aa650ced310ee7b1adfc6)
|
|
|
|
| |
(cherry picked from commit 47da0b53f9cd27aeec1d2822780784866269a47d)
|
|
|
|
|
|
| |
from the reconfigure until the lastVote document is written.
(cherry picked from commit 62f52d2eba138a8729ac31b589d87bde6f1b5cf5)
|
|
|
|
|
|
|
|
|
| |
mongodb-3.2
ref: 534677a2ea..b8f590dea0
for: 3.2.15
WT-3373 Access violation due to a bug in internal page splitting
|
|
|
|
| |
(cherry picked from commit 8ef6560b08267ad7b073a21dab19d1618ba02efc)
|
|
|
|
| |
(cherry picked from commit b9739a9b4bf02790d427a8e4910629f8c378c5fb)
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit 7844ffc9be25e16daa9615949941b8749ad3de9f)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
listDatabases
(3.2 backport of commit 222729e604843568bb7100be1d94b28853c2da8d)
|
|
|
|
| |
(cherry picked from commit 5a35a6c425b815ecf7795d8e2706b9f3e82c7ce6)
|
| |
|
|
|
|
| |
thread-specific contexts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit cb893ef71d66bea22dd79553bd0080549f794c16)
|
|
|
|
| |
(cherry picked from commit d20c74fe700d15ea555f9c6cae916b522005eec7)
|
| |
|
|
|
|
|
|
| |
expectedPrimaryIndex
(cherry picked from commit 8d146d21661cf755fc15b7eefec147ce85ffde8c)
|
|
|
|
| |
(cherry picked from commit 1875792bdc435c695aca1b6b57be7486e7df70c5)
|
|
|
|
| |
but not required
|
|
|
|
|
|
|
| |
(cherry picked from commit af198512c7dbb00442fb5115aeac661bf85535c8)
lint fix
(cherry picked from commit 9c3c7d8328d50d45206d310d5c63f0197f49ab39)
|
| |
|
|
|
|
|
|
|
| |
Closes #1133
Signed-off-by: Spencer Jackson <spencer.jackson@mongodb.com>
(cherry picked from commit f257e51df267110a14b489fbfbfbe07896096ad1)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
.dbshell history file
Cherry-picked from:
* 035cf2afc04988b22cb67f4ebfd77e9b344cb6e0
* f2c3376d70a3540d3bee5e32abe9d5517f571369
* 4a431ceb4cb1d986ceb54ee26ca86915ef9ffd42
With additional adjustments to handle the inability to pass environment
variables to runProgram().
|
|
|
|
| |
(cherry picked from commit 6ce4f12e208e3f02a6de1ba79158b2d181e60bd8)
|
| |
|
| |
|
|
|
|
|
|
| |
re-evaluating sync sources, for jstests that manipulate chaining
(cherry picked from commit ae2f197bcb46ee961ebadbccba18154f94a09f56)
|