summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Most WiredTiger calloc calls are to allocate a single structure,Keith Bostic2014-12-1548-83/+85
| | | | | create the macro __wt_calloc_one that doesn't take a count or a sizeof.
* Clean up a few __wt_calloc() calls that can be __wt_calloc_def() instead.Keith Bostic2014-12-1510-11/+11
|
* Fix calculation of available space with raw compression.Michael Cahill2014-12-151-7/+14
| | | | refs #1282
* When growing a buffer for reconciliation, track the space available directly ↵Michael Cahill2014-12-151-1/+2
| | | | | | from the buffer, rather than second-guessing. refs #1282
* Merge pull request #1454 from wiredtiger/overflow-relaxMichael Cahill2014-12-1522-606/+688
|\ | | | | Separate the btree maximum key/value sizes from the underlying page size
| * Fix the example, missing comma.Keith Bostic2014-12-101-1/+1
| |
| * Fix a comment.Keith Bostic2014-12-101-17/+19
| |
| * Add an example a large leaf-page value overflow configKeith Bostic2014-12-102-0/+11
| |
| * Rename onpage_ovfl to key_onpage_ovfl to make the two row-storeKeith Bostic2014-12-101-5/+5
| | | | | | | | routines match.
| * Merge branch 'develop' into overflow-relaxKeith Bostic2014-12-101-1/+1
| |\
| * | Another pass over the wording.Keith Bostic2014-12-101-37/+41
| | |
| * | Merge branch 'develop' into overflow-relaxKeith Bostic2014-12-101-6/+6
| |\ \
| * | | We can't use the corrected page size to calculate the buffer's spaceKeith Bostic2014-12-102-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | available, but we don't have a page size either. We do know how much space we added, so use that to increment the space available. The raw compression handler can no longer pass a page size buffer to the underlying compression function, because a single key/value object could be larger than the page size, instead, pass a buffer of the same length as the source to compress, whatever that is.
| * | | Make every 1000th record big (80-100KB).Keith Bostic2014-12-102-10/+20
| | | |
| * | | When I switched the tracking frequency from 1/10 of a second to 1/4Keith Bostic2014-12-101-7/+7
| | | | | | | | | | | | | | | | | | | | of a second, I didn't update the code that decremented the timer to the end of a run -- fix it.
| * | | Rename page_size_max to page_size_orig, clarify its usage (rawKeith Bostic2014-12-101-15/+14
| | | | | | | | | | | | | | | | compression is the only thing that cares).
| * | | Merge branch 'develop' into overflow-relaxKeith Bostic2014-12-109-97/+96
| |\ \ \
| * \ \ \ Merge branch 'develop' into overflow-relaxKeith Bostic2014-12-091-4/+3
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' into overflow-relaxKeith Bostic2014-12-0915-175/+149
| |\ \ \ \ \
| * | | | | | Remove the min / max bounds on overflow sizes.Michael Cahill2014-12-103-15/+17
| | | | | | |
| * | | | | | Merge branch 'develop' into overflow-relaxKeith Bostic2014-12-0935-257/+1134
| |\ \ \ \ \ \
| * | | | | | | Separate the btree maximum key/value sizes from the underlying pageKeith Bostic2014-12-0919-549/+610
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | size, reference #1282. Deprecate the internal_item_max and leaf_item_max configuration strings, replace with internal_key_max, leaf_key_max and leaf_value_max. Remove examples/c/ex_file.c (there's no real need for a "file" URI example, and it's easy to replace the one place the documentation used it).
* | | | | | | | Merge pull request #1464 from wiredtiger/testsuite-longMichael Cahill2014-12-155-33/+95
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Changed python test suite to allow for shorter runs by default.
| * | | | | | | | Used prune_scenario limit the number of scenarios for default test runs.Don Anderson2014-12-122-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refs #1461.
| * | | | | | | | Allow pruning scenarios with different limits for default vs. long runs.Don Anderson2014-12-122-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pruned scenario list now matches the original ordering. Tests now print with both the scenario number and the scenario args. This should make it easier to diagnose and debug problems that effect only certain scenarios. Refs #1461.
| * | | | | | | | Changed python test suite to allow for shorter runs by default,Don Anderson2014-12-113-16/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with a --long (or -l) option for the complete runs. Txn02 in particular now runs only a small number of scenarios by default. Also added a @longtest("description") decorator for individual tests that can be marked to be run only under --long. Refs #1461.
* | | | | | | | | Merge pull request #1470 from markbenvenuto/win_scr_freeKeith Bostic2014-12-121-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Free scratch buffer with scr_free instead of buf_free
| * | | | | | | | | Free scratch buffer with scr_free instead of buf_freeMark Benvenuto2014-12-121-2/+2
|/ / / / / / / / /
* | | | | | | | | Old-style function declaration.Keith Bostic2014-12-121-1/+1
| | | | | | | | |
* | | | | | | | | Add some wording around WT_PANIC to clarify that the application canKeith Bostic2014-12-123-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simply exit, no further action is required.
* | | | | | | | | Preserve LSM values prefixed with tombstones across merges.Michael Cahill2014-12-122-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been causing failures in jstests/noPassthroughWithMongod/btreedel.js.
* | | | | | | | | src/lsm/lsm_cursor.c:1203:12: warning: variable 'cmp' may be uninitialized ↵Michael Cahill2014-12-121-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when used here [-Wconditional-uninitialized]
* | | | | | | | | Merge pull request #1459 from wiredtiger/session-app-privateMichael Cahill2014-12-122-0/+13
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add a WT_SESSION.app_private field for applications to use in callbacks taking a WT_SESSION handle.
| * | | | | | | | | Add a WT_SESSION.app_private field for applications to use in callbacksKeith Bostic2014-12-102-0/+13
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | taking a WT_SESSION handle. Reference #1423.
* | | | | | | | | Choose a more stable chunk size for small-lsm wtperf workload.Alex Gorrod2014-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous size meant we sometimes didn't merge the tree down because of the number of chunks created during the load.
* | | | | | | | | Don't allow log cursors to have a readonly config def. #1351Susan LoVerso2014-12-111-2/+0
| | | | | | | | |
* | | | | | | | | Capitalize LLU (the lower-case 'l' looks like '1').Keith Bostic2014-12-111-1/+1
| |/ / / / / / / |/| | | | | | |
* | | | | | | | If LSM search_near finds a matching tombstone, step the whole LSM cursor ↵Michael Cahill2014-12-111-89/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | next to find the closest key. We can't step individual chunk cursors, or we could return a record that is deleted in a more recent chunk. MongoDB BF-694, BF-700
* | | | | | | | Update auto-generated files.Michael Cahill2014-12-112-4/+3
| | | | | | | |
* | | | | | | | Track eviction that happens while the eviction server is sleeping: only ↵Michael Cahill2014-12-111-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update the previous count after we notice it has changed.
* | | | | | | | Add connection sweep stats and a sweep test. #1446Susan LoVerso2014-12-106-65/+225
|/ / / / / / /
* | | | | | | whitespaceKeith Bostic2014-12-101-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Track pages inside eviction loop to avoid hang. #1451Susan LoVerso2014-12-101-6/+6
| |_|_|_|/ |/| | | |
* | | | | Convert size_t to uint32_t for log records.Michael Cahill2014-12-101-2/+4
| | | | | | | | | | | | | | | | | | | | refs #1359
* | | | | Track whether eviction is making progress regardless of whether the cache is ↵Michael Cahill2014-12-102-17/+12
| | | | | | | | | | | | | | | | | | | | 100% full. Otherwise we can get into a tight loop. Use the count of pages evicted rather than a flag, now that there are multiple eviction threads.
* | | | | Never sweep the metadata. We don't go through normal handle locking paths, ↵Michael Cahill2014-12-101-0/+2
| | | | | | | | | | | | | | | | | | | | and threads are not prepared to reopen the metadata. Just skip it.
* | | | | Merge pull request #1456 from wiredtiger/sweep-moreAlex Gorrod2014-12-107-78/+78
|\ \ \ \ \ | |_|_|_|/ |/| | | | Allow sweep to reclaim more handles
| * | | | Close the right handle during sweeps.Michael Cahill2014-12-101-1/+2
| | | | |
| * | | | Merge branch 'develop' into sweep-moreMichael Cahill2014-12-1013-166/+147
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | The "inuse" field protects the btree, the "session_ref" field protects the ↵Michael Cahill2014-12-102-5/+11
| | | | | | | | | | | | | | | | | | | | dhandle. Unlock the handle if we don't attempt to discard it, or if the discard fails.