| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Free the referenced block in the right place :(
|
|\ |
|
| |
| |
| |
| |
| |
| | |
WT-2237 Have threads publish unique transaction IDs so that updates always become visible immediately on commit.
(cherry picked from commit 0a52a80a39fc47145fb755d792792ae820b266ed)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(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
|
| |
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 2d01a566)
Conflicts:
src/btree/bt_split.c
|
|/
|
|
|
|
|
|
|
|
|
|
| |
(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
|
| |
|
|
|
|
|
|
| |
SERVER-21027 Don't leave empty internal pages in the tree
(cherry picked from commit ba931c1)
|
|
|
|
|
|
| |
SERVER-21027 Fix reverse splits to keep the original child ref locked
(cherry picked from commit f4d20a3)
|
|
|
|
|
|
|
|
|
|
|
| |
SERVER-21027 Reverse split if there are many deleted pages
(cherry picked from commit 35d46c3)
Conflicts:
src/btree/bt_delete.c
src/btree/bt_read.c
src/evict/evict_page.c
|
|
|
|
|
|
| |
Merge pull request #1988 from wiredtiger/split-deepen-for-append
(cherry picked from commit a98417879da9eacefecd74242fd3924b46e31183)
|
|
|
|
|
| |
This change was partially backported already via changes to
__wt_page_can_split, make it work for real.
|
|
|
|
|
|
| |
Merge pull request #2221 from wiredtiger/more-bool
(cherry picked from commit d76280fa1efc6452dd3200f4b0b3639009348118)
|
|
|
|
|
|
| |
Merge pull request #2210 from wiredtiger/wt2126
(cherry picked from commit 87c52d446eba66ef686b2144afe3d925c95297c1)
|
|
|
|
|
|
| |
Merge pull request #2216 from wiredtiger/more-bool
(cherry picked from commit 53638a10713925406f92d20fa840a94cd2cfa22a)
|
|
|
|
|
|
| |
Merge pull request #2208 from wiredtiger/more-bool
(cherry picked from commit f1837bf787832c818d226df4c662093d124b01f8)
|
|
|
|
|
| |
WT-2122 more boolean conversion
(cherry picked from commit 91deacba5a77db31216fccfb6bffdbe81375f0b4)
|
|
|
|
|
|
| |
Merge pull request #2178 from wiredtiger/use-bool
(cherry picked from commit d9391c0df4dc38c8ea571bde4808ced194d7cff0)
|
|
|
|
|
|
| |
Merge pull request #2196 from wiredtiger/WT-2042
(cherry picked from commit 5ab26af636f8c6a5a86200d1c18f249d0749fc9a)
|
|
|
|
|
|
|
| |
than the current cell's offset in the page, we'll read memory outside
of the page image.
(cherry picked from commit 0e96683fc65845c015ed6ee7249ea1d9c3c9a67e)
|
|
|
|
| |
(cherry picked from commit 7540ec4cb094e49bddf368eb8001c1fd4e47dce1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two places in the page-read code where a reading
thread calls __wt_cache_eviction_check without first checking the
WT_READ_NO_EVICT flag, and that can lead to deadlock. The case I have
is a configuration with no eviction-worker threads, lots of eviction
pressure, and so the application threads are busy doing eviction.
The eviction server thread splits a page, is getting a hazard pointer
on the parent, and for some reason can't get it immediately. The
eviction server thread then gets pressed into doing more eviction, there
are no pages on the queue because the application threads have emptied
it, and things stall forever while the eviction server looks for pages
on the empty eviction queue.
(cherry picked from commit 7c8ce54f261faaf643ce5d063f27bb78db0c2cd8)
|
|
|
|
|
| |
WT-2025: inline atomic functions.
(cherry picked from commit ada57c1ed44ab0dd4f904f60a63bbc77333b2baa)
|
|
|
|
|
| |
Merge pull request #2106 from wiredtiger/cursor-positioned
(cherry picked from commit c5c9936fb240c5bb4ec925f683476b7f075cfc78)
|
| |
|
|
|
|
|
| |
SERVER-19522 Try to evict internal pages with no useful child pages.
(cherry picked from commit fb8739f423a824b76e1a26cbaa28c1edaa2f2f7d)
|
|
|
|
|
| |
SERVER-19340 Avoid type aliasing in the random number generator.
(cherry picked from commit 3ec45a7204e01a5ac176550fdfef30a7402046e8)
|
|
|
|
|
| |
WT-2014 Checkpoint file fixes
(cherry picked from commit c8633e610943865fa81fcd1e8242c6c9a80435c4)
|
|
|
|
|
| |
WT-1996 If there is an error applying updates during a page rewrite, don't free the first update
(cherry picked from commit f8dc12bead0d8b3ea05144599d2ab218e5fbdb9a)
|
|
|
|
|
| |
WT-1969 WT_REF.pindex_hint cleanup
(cherry picked from commit 53c7cacbb6db699c7d23ad749359ffffc6ed99d1)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first thing when continuing a walk is look up the parent page's
index slot, a fast operation if there's an accurate WT_REF.ref_hint
value, otherwise it's an N/2 walk of the parent page's slots.
The pindex slot we're looking at is the correct WT_REF.ref_hint value,
set it before returning, otherwise traversing a tree with large internal
pages, where the children have no WT_REF.ref_hint values, becomes an
N-squared traversal of the internal page's index.
(cherry picked from commit d693ef1f29c6c2a3486aa3d63a35727bdff96aff)
|
|
|
|
| |
(cherry picked from commit cd1704d6c4d84c5db8ae6b471c658945ffa226f9)
|
| |
|
|
|
|
|
|
| |
case eviction isn't running (e.g., during forced eviction checks).
(cherry picked from commit d93900e4da05ce100a9b3acf9a931415491ed31c)
|
|
|
|
| |
(cherry picked from commit 5f8d5b4a84e36ae366fbee9a2026995af58e07a9)
|
|
|
|
| |
(cherry picked from commit caa895321adb5df5e7a94763935ba9f6013185e6)
|
|
|
|
| |
(cherry picked from commit d57dc26729bbc59c5bc3928aa90bb2ac3cd15d6d)
|
|
|
|
|
|
| |
false, don't error if we leak blocks unless strict is configured.
(cherry picked from commit b3e3f19a08bbd8897dc0ba3f54b217292e35ea6b)
|
|
|
|
|
| |
Compact early exit
(cherry picked from commit 1aa7725e24265ecc4cf86051227c64325ce53115)
|
|
|
|
|
| |
Fix checkpoint visiting a page that was rewritten in memory
(cherry picked from commit f3e73908a9e19a64648f509c5e0417b05853bca2)
|
|
|
|
|
| |
Avoid obsolete update checks during long-running transactions
(cherry picked from commit 7677519536c9db9d7b86a8adca1a70a07d2e9747)
|
|
|
|
| |
this fixes SERVER-18192.
|
|
|
|
| |
that it means permanently cache-resident.
|
|
|
|
|
|
|
|
|
| |
otherwise we can (1) create a file with cache_resident configured
(setting both no-eviction and no-hazard), (2) drop the file, then
(3) re-create the file without cache_resident configured (clearing only
no-eviction), and the result will be a file that can be evicted and
where we aren't maintaining hazard pointers, and nothing good is going
to happen after that.
|
|
|
|
|
| |
CID 72082 (#1 of 1): Redundant test (DEADCODE)
dead_error_condition: The condition ret == -1 must be true.
|
|\
| |
| |
| |
| | |
Conflicts:
src/conn/conn_sweep.c
|
| |\
| | |
| | | |
Use beginthreadex, and ensure we use the correct C calling conventions in all callbacks
|
| | |
| | |
| | |
| | | |
all callbacks
|
| |/ |
|
| | |
|