summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WT-3393 Missing barrier when a WT_UPDATE structure is appended to list. (#3483)mongodb-3.5.10Keith Bostic2017-06-271-1/+1
| | | | | | When appending a new WT_UPDATE structure to a list, there should be a barrier to ensure the WT_UPDATE structure is fully initialized before it's appended to the list, it can be read by other threads as soon as it's linked.
* WT-3363 Change how we check for the long tests flag. Disable the chec… (#3485)David Hows2017-06-2710-15/+24
| | | | * WT-3363 Change how we check for the long tests flag. Disable the checkpoint races test unless explicitly requested
* Bump release version in develop to 3.0.0 after cutting release.Alex Gorrod2017-06-275-13/+13
|
* WT-3363 Add a test to confirm if operations block waiting for checkpoints to ↵David Hows2017-06-2712-50/+739
| | | | | | | | | | | | complete (#3462) * Add a test to confirm if operations conflict with checkpoints * Move handler functions into test/utility * Ensure that the checkpoint delays only affect external checkpoints and skip internal ones * Rename to timing stress, remove an un-needed ifdef
* Merge branch 'master' into developAlex Gorrod2017-06-274-6/+30
|\
| * Merge branch 'mongodb-3.6'2.9.3Alex Gorrod2017-06-27686-4470/+12236
| |\
| | * WT-3391 Add release notes for the WiredTiger 2.9.3 release (#3481)Alex Gorrod2017-06-274-6/+30
| | | | | | | | | | | | | | | | | | * Add release notes for the WiredTiger 2.9.3 release * Update doc landing page
| | * WT-3373 Access violation due to a bug in internal page splitting (#3478)Keith Bostic2017-06-261-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | When acquiring a lock on our parent internal page, we use the WT_REF.home field to reference our parent page. As a child of the parent page, we prevent its eviction, but that's a weak guarantee. If the parent page splits, and our WT_REF were to move with the split, the WT_REF.home field might change underneath us and we could race, and end up attempting to access an evicted page. Set the session page-index generation so if the parent splits, it still can't be evicted.
| | * Merge branch 'develop' into mongodb-3.6Michael Cahill2017-06-237-221/+338
| | |\
| | * \ Merge branch 'develop' into mongodb-3.6mongodb-3.5.9Alex Gorrod2017-06-1464-624/+1448
| | |\ \
| | * \ \ Merge branch 'develop' into mongodb-3.6Alex Gorrod2017-06-07679-3775/+10592
| | |\ \ \
| | * | | | WT-3158 Fix structure layout on Windows. (#3417)mongodb-3.5.8Keith Bostic2017-05-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Use awk instead of wc to get a count of lines, awk never includes whitespace in the output.
| | * | | | WT-3158 Fix structure layout on Windows. (#3416)Michael Cahill2017-05-162-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use a pragma on Windows to force a struct to be packed, but were missing the "end" pragma that restores normal layout. The result was that most structs were being packed, leading to poor performance for workloads (particularly when accessing session structures).
| | * | | | WT-3271 Prevent integer overflow in eviction tuning. (#3379)mongodb-3.5.7mongodb-3.5.6mongodb-3.4.4Michael Cahill2017-04-111-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from: 8f371403f0ccfae0188d7e4c2e6d629ade697b13)
| | * | | | WT-3265 Allow eviction of recently split pages when tree is locked. (#3372)Michael Cahill2017-04-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit: 84e6ac0e67019bba22af87b99b40bb0bc0e21157) When pages split in WiredTiger, internal pages cannot be evicted immediately because there is a chance that a reader is still looking at an index pointing to the page. We check for this when considering pages for eviction, and assert that we never evict an internal page in an active generation. However, if a page splits and then we try to get exclusive access to the tree (e.g., to verify it), we could fail to evict the tree from cache even though we have guaranteed exclusive access to it. Relax the check on internal pages to allow eviction from trees that are locked exclusive.
| | * | | | WT-3262 Don't check if the cache is full when accessing metadata. (#3376)Michael Cahill2017-04-081-6/+11
| | | | | | | | | | | | | | | | | | Also don't check for a full cache while holding the table lock (we're likely reading the metadata in that case, just being extra careful).
| | * | | | Merge commit 'adbe2ec' into mongodb-3.6Alex Gorrod2017-04-064-16/+22
| | |\ \ \ \
| | * \ \ \ \ Merge branch 'develop' into mongodb-3.6Alex Gorrod2017-04-042-35/+19
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge branch 'develop' into mongodb-3.6Alex Gorrod2017-04-041-0/+3
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.6Alex Gorrod2017-04-01131-1909/+2920
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.6Michael Cahill2017-03-24136-1570/+2577
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | WT-3206 Fix a race allocating split generations. (#3332)mongodb-3.5.5mongodb-3.4.3Michael Cahill2017-03-161-23/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use split generations to detect when readers may be looking at structures that are replaced by a split. For correctness, we should only increment the global split generation *after* a split becomes public. Only then can we safely check that no thread is still reading with the old generation. Previously, a split could increment the global split generation, then a thread could start reading with the new split generation but see the old index structure. This issue was introduced by WT 3088, where we wanted a way to ensure that newly-allocated pages don't split until it is safe. That is solved here by having the split code pin a split generation in the ordinary way (without allocating a new one) for the duration that splits of new pages need to be prevented. (cherry picked from commit 51d22616094e0a0d34997d26aec925adf949fbdf)
| | * | | | | | | | | WT-3218 Avoid adding duplicate handles to connection dhandle list (#3331)Alex Gorrod2017-03-162-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Recheck for existence after acquiring write lock when creating a new dhandle. * Add a wtperf workload that reproduced the original failure. (cherry picked from commit b77f9cc3b7fe7c15445c13df9bef74f1dd39b991)
| | * | | | | | | | | Merge branch 'develop' into mongodb-3.6Alex Gorrod2017-02-206-38/+103
| | |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.6mongodb-3.5.4Alex Gorrod2017-02-17120-1677/+4594
| | |\ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.6mongodb-3.5.3mongodb-3.5.2David Hows2017-01-23188-1704/+3362
| | |\ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.6mongodb-3.4.2Alex Gorrod2016-12-1994-522/+1690
| | |\ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.6mongodb-3.5.1Alex Gorrod2016-12-12115-1564/+3477
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.5.0mongodb-3.4.1mongodb-3.4.0Michael Cahill2016-11-167-23/+46
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Michael Cahill2016-11-155-22/+26
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Michael Cahill2016-11-1512-56/+85
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Michael Cahill2016-11-1447-367/+634
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.4.0-rc3Michael Cahill2016-11-074-5/+9
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Michael Cahill2016-11-04141-1817/+2849
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.4.0-rc2Alex Gorrod2016-10-24114-970/+3155
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.4.0-rc1Alex Gorrod2016-10-0785-1887/+2113
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.4.0-rc0mongodb-3.3.15Alex Gorrod2016-09-2633-194/+342
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.3.14mongodb-3.3.13Alex Gorrod2016-09-16162-907/+922
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Michael Cahill2016-09-123-8/+8
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Alex Gorrod2016-09-0912-259/+261
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Alex Gorrod2016-09-08135-1188/+2403
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.3.12Michael Cahill2016-08-294-6/+22
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Alex Gorrod2016-08-26199-3639/+8509
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.3.11Michael Cahill2016-08-054-17/+82
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Alex Gorrod2016-08-04254-2911/+4447
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' of github.com:wiredtiger/wiredtiger into mongodb-3.4mongodb-3.3.9mongodb-3.3.10mongodb-3.0.1David Hows2016-06-24161-1688/+3142
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.3.8mongodb-3.3.7Michael Cahill2016-06-0323-287/+181
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Alex Gorrod2016-06-0117-125/+343
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4Alex Gorrod2016-05-27112-828/+2290
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into mongodb-3.4mongodb-3.3.6Michael Cahill2016-05-05210-5473/+8879
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \