Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cut release 1.1.4.1.1.4 | Michael Cahill | 2012-04-16 | 5 | -6/+36 |
| | |||||
* | Move the test/format threads setting into the CONFIG file. | Michael Cahill | 2012-04-16 | 5 | -17/+21 |
| | |||||
* | All dump configuration should be valid for WT_SESSION->create. | Michael Cahill | 2012-04-16 | 4 | -33/+40 |
| | | | | closes #194. | ||||
* | Split WT_PAGE->flags so that there is no possibility of racing: | Michael Cahill | 2012-04-16 | 7 | -96/+109 |
| | | | | | | | 1) Move WT_PAGE_REC_* flags into WT_PAGE_MODIFY; 2) Use the WT_REF_EVICT_WALK state for all pages in the LRU queue and get rid of the WT_PAGE_EVICT_LRU flag. The only remaining flag is WT_PAGE_BUILD_KEYS, so there is no possibility of a race. | ||||
* | Clear all unused eviction queue entries while holding the lru_lock. | Michael Cahill | 2012-04-16 | 2 | -5/+10 |
| | |||||
* | Fix an unlikely bug where the EVICT_LRU flag was cleared when a page in the ↵ | Michael Cahill | 2012-04-16 | 1 | -3/+3 |
| | | | | LRU queue was overwritten with itself during a walk. This led to an assertion failure when the page was later evicted. | ||||
* | whitespace | Michael Cahill | 2012-04-16 | 1 | -1/+1 |
| | |||||
* | Don't worry about session.create for the table URI, only the individual file | Keith Bostic | 2012-04-10 | 1 | -10/+12 |
| | | | | information, ref #194. | ||||
* | lint (unsigned int to int) | Keith Bostic | 2012-04-10 | 1 | -1/+1 |
| | |||||
* | The dump utility should only output configuration that can be passed to | Keith Bostic | 2012-04-10 | 3 | -14/+53 |
| | | | | WT_SESSION::create. Close #194. | ||||
* | Ref #193, replacing 98be8332986a663b9b2a441cbc9da68dfa974d4b and | Keith Bostic | 2012-04-10 | 2 | -23/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b504394466dfe7e1d4b458765f655e5c93282a6d. The last two commits for issue #193 broke the tree: the initial problem was that in some cases we failed to migrate a leaf page's dirty-ness up the tree. A leaf page would be reconciled and mark its parent, a split-merge page, dirty, but the dirty flag would climb no further up the tree. That's because the way a dirty flag moves up the tree is that reconciling a dirty page cleans the page and marks the parent dirty. Since split-merge pages are never reconciled, the dirty flag would never climb the tree. The fix I initially put in was to change split-merge page reconciliation to not simply return, instead, split-merge page reconciliation dirtied its parent page. That was OK, but then I simplified eviction to reconcile any page it found dirty rather than skipping split-merge pages. That broke the world: the problem is we never mark split-merge pages clean, so a completely clean tree that was being evicted could re-dirty a page because the split-merge page was never marked cleaned and so would be reconciled as part of eviction, marking its clean parent dirty. I can think of two fixes. Fix 1, change split-merge page reconciliation to have two effects: mark the split-merge page clean, and dirty its parent page. Fix 2, don't ever mark a split-merge page dirty during reconciliation, climb the tree until we find a non-split-merge page and mark it dirty instead. Fix 1 makes split-merge pages behave more like other pages in the tree, but means more work, we have to reconcile split-merge pages for no other reason than to make the dirty flag climb the tree, that is, our only purpose in reconciling split-merge pages is to mark them clean and their parent pages dirty. This commit implements fix 2, reconciliation doesn't mark split-merge pages dirty, it climbs the tree until it finds a real page and marks it dirty. | ||||
* | Reconcile dirty split-merge pages as part of doing eviction. | Keith Bostic | 2012-04-10 | 1 | -5/+6 |
| | | | | | | | | | Reconciliation of split-merge pages does have an effect, it marks the split-merge's parent page dirty. I can't think of a code path where we'd be looking at a split-merge page during eviction, where the split-merge page's parent isn't already marked dirty, but eviction is not that common, split-merge pages are less common, and so the cost of consistency is cheap. Ref #193. | ||||
* | Merge branch 'develop' of github.com:wiredtiger/wiredtiger into develop | Keith Bostic | 2012-04-10 | 18 | -143/+223 |
|\ | |||||
| * | Change test of "wt list" now that there is always a schema file. | Michael Cahill | 2012-04-10 | 1 | -1/+1 |
| | | | | | | | | refs #191 | ||||
| * | Create the schema table as part of creating the environment so that ↵ | Michael Cahill | 2012-04-10 | 3 | -4/+19 |
| | | | | | | | | | | | | | | | | application threads don't race trying to create it later. This is not a complete solution: threads may still race creating other files or schema objects, but this fixes the most common "thundering herd" case. refs #191 | ||||
| * | Relax the version requirements for autoconf and libtool: we are testing with ↵ | Michael Cahill | 2012-04-04 | 1 | -2/+2 |
| | | | | | | | | 2.63 and 2.2.6, respectively. | ||||
| * | Check the versions of autoconf, automake and libtool to avoid failures when ↵ | Michael Cahill | 2012-04-04 | 2 | -1/+7 |
| | | | | | | | | trying to build from the github tree. | ||||
| * | Merge branch 'master' into develop | Michael Cahill | 2012-04-04 | 1 | -0/+1 |
| |\ | |||||
| | * | Added tag 1.1.3 for changeset a792d468bedd | Michael Cahill | 2012-04-04 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch 'master' into develop | Michael Cahill | 2012-04-04 | 0 | -0/+0 |
| |\ \ | | |/ | |||||
| | * | Merge branches 'develop' and 'master' of github.com:wiredtiger/wiredtiger1.1.3 | Michael Cahill | 2012-04-04 | 0 | -0/+0 |
| | | | |||||
| * | | Cut release 1.1.3. | Michael Cahill | 2012-04-04 | 6 | -7/+33 |
| | | | |||||
| * | | Merge pull request #188 from wiredtiger/feature/eviction-fixes | Michael Cahill | 2012-04-03 | 6 | -127/+152 |
| |\ \ | | |/ | |/| | Merge eviction-fixes into develop. | ||||
| | * | Merge branch 'develop' into feature/eviction-fixes | Michael Cahill | 2012-04-03 | 3 | -5/+14 |
| | |\ | | |/ | |/| | |||||
| * | | Don't report range errors for config values that aren't well-formed integers. | Michael Cahill | 2012-04-03 | 1 | -4/+11 |
| | | | |||||
| | * | During an eviction walk, pin pages up to the root. Use the EVICT_LRU | Michael Cahill | 2012-04-03 | 3 | -98/+78 |
| | | | | | | | | | | | | page flag to avoid putting a page on the LRU queue multiple times. | ||||
| | * | Reduce the impact of clearing a page from the LRU queue by marking pages on ↵ | Michael Cahill | 2012-03-30 | 3 | -5/+17 |
| | | | | | | | | | | | | the queue with a flag. | ||||
| | * | When evicting a page with children, remove the children from the LRU ↵ | Michael Cahill | 2012-03-30 | 3 | -27/+60 |
| | | | | | | | | | | | | eviction queue. | ||||
* | | | split-merge pages have to be reconciled to mark their parents dirty | Keith Bostic | 2012-04-10 | 1 | -3/+6 |
|/ / | | | | | | | close #193. | ||||
* | | Remove the release tree after creating the tarball. | Michael Cahill | 2012-03-30 | 1 | -0/+2 |
| | | |||||
* | | s_types should check in more directories than just src. | Michael Cahill | 2012-03-30 | 1 | -1/+1 |
|/ | |||||
* | When we removed test/config.i, it broke s_types -- simplify s_types, | Keith Bostic | 2012-03-28 | 1 | -5/+1 |
| | | | | just do a find on src/. | ||||
* | We no longer use __wt_buf_swap(), remove it (it's trivial to replace | Keith Bostic | 2012-03-28 | 2 | -15/+0 |
| | | | | if it comes back). | ||||
* | move CURDUMP_PASS into the WiredTiger name space, don't complain that | Keith Bostic | 2012-03-28 | 2 | -8/+9 |
| | | | | it isn't used. | ||||
* | Remove test/config*, it's obsolete now. | Michael Cahill | 2012-03-28 | 3 | -97/+0 |
| | |||||
* | Layer dump cursors on top of any cursor type. | Michael Cahill | 2012-03-11 | 13 | -135/+232 |
| | | | | | --HG-- extra : rebase_source : a0ddaa6ba4d7ed5fdb7ca8811f2147e3ede0bad3 | ||||
* | Push handling of "standard" cursor config flags into __wt_cursor_init. | Michael Cahill | 2012-03-11 | 4 | -73/+38 |
| | | | | | --HG-- extra : rebase_source : dfa07973f66199329fede015f43ac813315bd1f8 | ||||
* | Remove the CURSTD_FILE and CURSTD_TABLE flags: if we need to look inside a | Michael Cahill | 2012-03-11 | 13 | -74/+51 |
| | | | | | | | cursor beyond the public fields, we're breaking layering. --HG-- extra : rebase_source : 06d12a9724f81743a140a9875f816e857993e405 | ||||
* | Fix the "exclusive" config for WT_SESSION::create. | Michael Cahill | 2012-03-28 | 7 | -43/+65 |
| | | | | | | | | | | 1. Make it work for files within a single session. 2. Make it work for files across sessions. 3. Make other data sources consistent with files. closes #181 --HG-- extra : rebase_source : 29b07b914508b8fcef1a4e4c212d32e5f21dd50e | ||||
* | Typo in usage method for "wt write". | Michael Cahill | 2012-03-28 | 1 | -1/+1 |
| | | | | | --HG-- extra : rebase_source : 32fbccc4b5c7c38b685ee00183f2e6f04e31c72c | ||||
* | Add a couple more copyrights. | Keith Bostic | 2012-03-26 | 3 | -1/+50 |
| | |||||
* | update a comment, no real change. | Keith Bostic | 2012-03-25 | 1 | -4/+4 |
| | |||||
* | Don't force the delete percentage to 0 (so salvage runs), if the | Keith Bostic | 2012-03-24 | 1 | -3/+12 |
| | | | | configuration says differently. | ||||
* | Add a section on replacing the default system memory allocator to the | Keith Bostic | 2012-03-21 | 3 | -3/+16 |
| | | | | | | | tuning page. An example setting the cache to 10MB isn't useful, crank the example to 500MB. | ||||
* | Merge branch 'master' of github.com:wiredtiger/wiredtiger | Michael Cahill | 2012-03-20 | 1 | -0/+2 |
|\ | |||||
| * | Don't complain about buffers that weren't discarded yet, it breaks the | Keith Bostic | 2012-03-20 | 1 | -0/+2 |
| | | | | | | | | test suite. | ||||
* | | Cut release 1.1.2. | Michael Cahill | 2012-03-20 | 5 | -12/+57 |
| | | | | | | | | | | --HG-- extra : rebase_source : 2a3ef9165ed9001ebb2b013577652d831140c370 | ||||
* | | ../../../../ext/compressors/bzip2_compress/bzip2_compress.c:161: warning: ↵ | Michael Cahill | 2012-03-20 | 1 | -4/+4 |
|/ | | | | | | | implicit conversion shortens 64-bit value into a 32-bit value --HG-- extra : rebase_source : 67f5d6fe20895f7f2891df98c1062b84a2db85da | ||||
* | Remove core files in the clean target.1.1.2 | Keith Bostic | 2012-03-20 | 1 | -1/+1 |
| | |||||
* | Complain if a scratch buffer is allocated but never discarded. | Keith Bostic | 2012-03-20 | 1 | -2/+6 |
| |