summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-26889 Got signal: 11 (Segmentation fault) in 3.0.13 (#3125)mongodb-3.0.15mongodb-3.0.14Keith Bostic2016-11-041-1/+0
| | | | Fix 552a33b (cherry-picked from 521270d). When the commit was merged, a line was dropped.
* WT-2711 Change statistics log configuration options (#2950)Keith Bostic2016-08-155-13/+9
| | | Ignore statistics_log.path configuration as a reconfiguration option.
* WT-2139 At read-uncommitted isolation, keep the same ID pinned while cursors ↵mongodb-3.0.13Michael Cahill2016-08-031-7/+4
| | | | are positioned.
* WT-2804 Don't read values in a tree without a snapshot. (#2924)Michael Cahill2016-08-022-4/+10
| | | | | | | | | | * Improve an assertion from WT-2802 that checks that we don't try to copy values from a cursor without a transaction pinned. * Copy cursor values before rollback in autocommit. If an autocommit operation such as WT_CURSOR::update touches multiple trees (e.g., multiple column groups in a table, or index updates, or multiple chunks in an LSM tree), then some cursors may have consumed the application's key/value pair when the operation has to roll back. Take a copy of any such values before attempting to retry the operation. (cherry picked from commit 41eb2dcaac1ff25654d1503f5e29714576ff8d81)
* WT-2802 Copy values during commit before releasing snapshot. (#2917)Michael Cahill2016-08-022-8/+15
| | | | (cherry picked from commit 8f3e5f31da8dbe2e388ae42afc602dd982808792)
* WT-2725 Prevent eviction of read-only pages with recent updates. (#2919)Michael Cahill2016-08-012-14/+17
| | | Reverts some of 0136888b3b677d67ff929c6f5b1f8d6aa6793b13.
* WT-2725 Enforce visibility constraints before evicting a page. (#2875)Alex Gorrod2016-07-144-24/+20
| | | | | Otherwise there is a race between when we add a page to the queue and when the page is pulled off the queue - where the updates on the page may have changed, thus violating transactional constraints.
* WT-2733 Backport fixes for races between eviction and dead handle cleanup ↵Alex Gorrod2016-07-013-56/+60
| | | | | | | | | | | | | | (#2841) * WT-2313 Wrap clearing of WT_DHANDLE_OPEN with eviction exclusive calls. (cherry picked from commit f4cc13a6dffda784be1fa33f8b46fefc5afab13e) * WT-2434 Fix a race between forced drops and sweep. (cherry picked from commit f6d0fa3645eb3f2b9932ffac9c287bba52052e04) * Remove a stray line that was added during backport.
* WT-2708 split child-update race with reconciliation/eviction (#2835)Keith Bostic2016-06-281-7/+16
| | | | | | | (cherry picked from commit 521270d54c41294da86a95690a54068cc23d4f1d) When splitting the root page and updating the child's WT_REF.addr, reconciliation/eviction can race with us, updating WT_REF.addr after our read and before our update. The update is necessary because the child's address points into the page being split: if the address changes, then it can no longer point into the page being split and the update is no longer necessary.
* WT-2559 Open a local log file handle for sync backport to MongoDB 3.0 (#2750)sueloverso2016-05-261-3/+15
| | | (cherry picked from commit 6b3553003)
* WT-2635 Change test/format to not configure bzip on 3.0 (#2732)Keith Bostic2016-05-171-7/+2
| | | Change test/format to not choose bzip compression.
* WT-2633 Don't allow eviction of the metadata during checkpoints in MongoDB ↵Keith Bostic2016-05-161-0/+1
| | | | | 3.0 (#2723) Avoid a path to the checkpoint thread performing eviction.
* Merge pull request #2243 from wiredtiger/WT-2157 (#2643)mongodb-3.0.12Michael Cahill2016-04-122-20/+10
| | | | WT-2157 If we give up trying to split a page, make sure it is written by the next checkpoint (cherry picked from commit bf1d359892b6ea0717e6b0465bfb59e0ecb5c4aa)
* Merge pull request #2478 from wiredtiger/wt-2361 (#2642)Michael Cahill2016-04-122-1/+11
| | | | | | | | | * Merge pull request #2478 from wiredtiger/wt-2361 WT-2361 column-store starting record number error (cherry picked from commit 27763ba51a9f4dc8cc35e22e3a481219fa2d2d0b) * WT-2361 Don't force evict when eviction is disabled (e.g., during checkpoints).
* Merge pull request #2641 from wiredtiger/server-22831-backport30Alex Gorrod2016-04-111-5/+9
|\ | | | | SERVER-22831 Queue more leaf pages than internal pages for eviction.
| * Merge pull request #2532 from wiredtiger/server-22831Alex Gorrod2016-04-111-5/+9
|/ | | | | SERVER-22831 Queue more leaf pages than internal pages for eviction. (cherry picked from commit 799ca57b6c597c864f12609fdedc4b3de7ebdec9)
* Merge pull request #2634 from wiredtiger/wt-2451-backport30Michael Cahill2016-04-072-1/+62
|\ | | | | Merge pull request #2556 from wiredtiger/wt-2451
| * Merge pull request #2556 from wiredtiger/wt-2451Alex Gorrod2016-04-052-1/+62
|/ | | | | | (cherry picked from commit c4f9f62) WT-2451 Allow eviction of WiredTiger metadata.
* Merge pull request #2455 from wiredtiger/WT-2130-split_pctmongodb-3.0.11mongodb-3.0.10Alex Gorrod2016-02-262-6/+23
| | | | | | (cherry picked from commit 6bff4ed) WT-2130 Backport - Don't round the split_pct to an allocation size.
* Merge pull request #2514 from wiredtiger/server-22554-backportMichael Cahill2016-02-231-7/+33
|\ | | | | SERVER-22554 Fix a reference counting bug in dhandles.
| * SERVER-22554 Fix a reference counting bug in dhandles.Alex Gorrod2016-02-221-7/+33
|/ | | | | | | | | | | | | | | | | The code has diverged a lot between 3.0 and the latest develop, and a backport included half of a reference counting change. This patches up the reference counting in 3.0. The problem being solved is: There are two phases to opening a handle in a session for the first time. First retrieve or open the handle from the connection cache, then add it to the session cache. The code was structured to split those into two separate phases (one while holding a lock the other after the lock had been released). The reference count needs to be bumped while the lock is being held, the session cache doesn't need to be updated while holding the lock. This change does both while holding the lock to keep reference count tracking sane and correct.
* Merge pull request #2429 from wiredtiger/WT-2193-backportmongodb-3.1.9mongodb-3.1.8mongodb-3.1.7mongodb-3.1.6mongodb-3.1.5mongodb-3.1.4mongodb-3.1.3mongodb-3.1.2mongodb-3.1.1mongodb-3.1.0mongodb-3.0.9mongodb-3.0.0Michael Cahill2016-01-115-6/+95
|\ | | | | WT-2193 Backport 3.0. Handle read-committed metadata checkpoints during snapshot transactions
| * Don't open the metadata for the internal checkpoint session.Alex Gorrod2016-01-121-1/+1
| | | | | | | | We already have a metadata handle available.
| * The parameters to open_internal_session have changed, update the code.Alex Gorrod2016-01-121-1/+1
| | | | | | | | The metadata checkpoint session handle needs to open btree handles.
| * Merge pull request #2282 from wiredtiger/WT-2193Alex Gorrod2016-01-115-6/+95
| | | | | | | | | | | | (cherry picked from commit 2f0b3e2) WT-2193 Backport 3.0. Handle read-committed metadata checkpoints during snapshot transactions
* | Merge pull request #2426 from wiredtiger/WT-2253-backportMichael Cahill2016-01-111-0/+5
|\ \ | | | | | | WT-2253 Backport to 3.0. Evict pages left behind by in-memory splits.
| * | Merge pull request #2351 from wiredtiger/wt-2253-readgen-oldest-evictionAlex Gorrod2016-01-111-0/+4
| | | | | | | | | | | | | | | | | | (cherry picked from commit c70b097) WT-2553 Backport to 3.0. Prioritize WT_READGEN_OLDEST pages for eviction.
| * | WT-22253 Backport to 3.0. Fixup backport to use a variable that exists.Alex Gorrod2016-01-111-1/+1
| | |
| * | Merge pull request #2353 from wiredtiger/WT-2553-evict-split-pagesAlex Gorrod2016-01-111-0/+1
| | | | | | | | | | | | | | | | | | (cherry picked from commit 4fc3e39) WT-2553 Backport to 3.0. Evict pages left behind by in-memory splits.
* | | Merge pull request #2425 from wiredtiger/WT-2196-30-backportMichael Cahill2016-01-118-30/+140
|\ \ \ | |_|/ |/| | WT-2196 MongoDB 3.0 backport fixes for size only statistics
| * | Merge branch 'mongodb-3.0' into WT-2196-30-backportAlex Gorrod2016-01-111-0/+3
| |\ \ | |/ / |/| |
* | | Merge pull request #2428 from wiredtiger/WT-2320-backportAlex Gorrod2016-01-101-0/+3
|\ \ \ | |_|/ |/| | WT-2320 Backport to 3.0. Only check copyright as part of cutting a release.
| * | Merge pull request #2427 from wiredtiger/WT-2320Alex Gorrod2016-01-111-0/+3
|/ / | | | | | | | | | | | | | | (cherry picked from commit 051ab40) WT-2320 Backport to 3.0. Only check copyright as part of cutting a release. Builds on another change that was pushed directly to develop branch: 00c2116
| * Merge pull request #2288 from wiredtiger/wt-2196-size-stats3Keith Bostic2016-01-113-14/+110
| | | | | | | | | | | | (cherry picked from commit ff27fe9) WT-2196 Backport to 3.0. Fix error handling in size only statistics.
| * Merge pull request #2287 from wiredtiger/wt-2196-keithKeith Bostic2016-01-116-27/+35
| | | | | | | | | | | | (cherry picked from commit a887cb2) WT-2196: Backport to 3.0. Fix size-only statistics when there are LSM tables.
| * Merge pull request #2286 from wiredtiger/WT-2196-size-stat-lsmMichael Cahill2016-01-115-21/+27
|/ | | | | | (cherry picked from commit b1de96c) WT-2196 Backport to 3.0. Fix size-only statistics when there are LSM tables.
* Merge pull request #2410 from wiredtiger/wt-2174_backportAlex Gorrod2015-12-241-0/+68
|\ | | | | WT-2174 Backport - Enhance size statistics to not wait for the table lock
| * Merge pull request #2256 from wiredtiger/stat-fast-no-table-lockMichael Cahill2015-12-231-0/+68
|/ | | | | | (cherry picked from commit 497b744d6) WT-2174 Backport - Enhance size statistics to not wait for the table lock
* Merge pull request #2354 from wiredtiger/server_21553_30backportmongodb-3.0.8Michael Cahill2015-12-028-81/+121
|\ | | | | SERVER-21553 3.0 backport
| * SERVER-21553 3.0 backport bug fix.Alex Gorrod2015-12-021-1/+1
| | | | | | | | Free the referenced block in the right place :(
| * Merge branch 'mongodb-3.0' into server_21553_30backportAlex Gorrod2015-12-027-66/+71
| |\ | |/ |/|
* | Don't try to test log compression from test/format on mongodb-3.0.Michael Cahill2015-12-021-1/+1
| | | | | | | | | | Appararently the changes for test/format to configure log compression were not backported to the mongodb-3.0 branch.
* | Merge pull request #2337 from wiredtiger/WT-2241Michael Cahill2015-12-023-15/+13
| | | | | | | | | | | | WT-2241 Use a lock to protect transaction ID allocation. (cherry picked from commit 6c7338f2e62d74d59d590a6712eb7e55f2586a8a)
* | Merge pull request #2333 from wiredtiger/WT-2337-perfKeith Bostic2015-12-021-5/+9
| | | | | | | | | | | | WT-2237 Avoid yields if we race allocating transaction IDs. (cherry picked from commit e90b5906b969e9e34c8aa7e304a5983ef8077bca)
* | Merge pull request #2331 from wiredtiger/WT-2237Alex Gorrod2015-12-026-65/+68
| | | | | | | | | | | | WT-2237 Have threads publish unique transaction IDs so that updates always become visible immediately on commit. (cherry picked from commit 0a52a80a39fc47145fb755d792792ae820b266ed)
| * Remove redundant function I missed in merge of SERVER-21553Alex Gorrod2015-12-021-16/+0
| |
| * Merge pull request #2350 from wiredtiger/WT-2251-ref-addr-leakAlex Gorrod2015-12-022-0/+27
| | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e731ef8ab) Conflicts: src/btree/bt_discard.c src/btree/bt_slvg.c src/btree/bt_split.c src/evict/evict_page.c src/reconcile/rec_write.c
| * SERVER-21568 Fix a use after-freeAlex Gorrod2015-12-022-21/+41
| | | | | | | | | | | | | | (cherry picked from commit 2d01a566) Conflicts: src/btree/bt_split.c
| * SERVER-21553 Free blocks during reverse splits.Alex Gorrod2015-12-027-61/+70
|/ | | | | | | | | | | | (cherry picked from commit bff6525c8) Conflicts: src/btree/bt_discard.c src/btree/bt_slvg.c src/btree/bt_split.c src/evict/evict_page.c src/include/btree.i src/reconcile/rec_write.c
* Merge pull request #2330 from wiredtiger/reverse-splits-3.0_2Michael Cahill2015-11-2713-41/+156
|\ | | | | SERVER-21027 Reverse split if there are many deleted pages (3.0)