Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enhance error handling in LevelDB API cursor implementation. | Alex Gorrod | 2014-06-13 | 1 | -33/+92 |
| | |||||
* | In LevelDB API remove asserts from functions that return values. | Alex Gorrod | 2014-06-13 | 1 | -34/+78 |
| | |||||
* | Don't search for LevelDB headers now they are in our tree. | Michael Cahill | 2014-06-13 | 1 | -5/+0 |
| | |||||
* | Standardize whitespace in LevelDB source code. | Alex Gorrod | 2014-06-13 | 2 | -382/+382 |
| | | | | Use two spaces for tabs to be consistent with LevelDB. | ||||
* | Add in the a copy of the LevelDB header files, and use them in our LevelDB API. | Alex Gorrod | 2014-06-13 | 15 | -11/+1796 |
| | | | | | | | This avoids us needing to maintain compatability with the numerous different versions of LevelDB in the wild. Header files will be installed to $include/wiredtiger/leveldb | ||||
* | Merge branch 'develop' into leveldb-api | Michael Cahill | 2014-06-12 | 6 | -8/+98 |
|\ | |||||
| * | Merge pull request #1057 from wiredtiger/lsm-snapshot-update-check-only | Alex Gorrod | 2014-06-12 | 4 | -4/+81 |
| |\ | | | | | | | Support snapshots in LSM via update checks rather than actual updates. | ||||
| | * | Merge pull request #1060 from wiredtiger/lsm-snapshot-update-check-only-2 | Michael Cahill | 2014-06-12 | 5 | -24/+78 |
| | |\ | | | | | | | | | Lsm snapshot update check only, review changes. | ||||
| | | * | Wrap update_check in a public cursor call, so that session->dhandle is set ↵ | Michael Cahill | 2014-06-12 | 4 | -5/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | correctly. refs #1060 | ||||
| | | * | Don't use a cursor flag for update checks: override the insert method ↵ | Michael Cahill | 2014-06-12 | 4 | -30/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | instead. This gets conflict checking out of the common fast path for updates, and avoids a new flag in the public API that we don't want to document. refs #1047, #1057, #1060 | ||||
| | | * | Trivial style changes: join a pair of lines, re-order a test so it looks | Keith Bostic | 2014-06-11 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | more like the test that precedes it. | ||||
| | | * | Move the WT_CBT_CONFLICT_CHECK flag from the btree-specific cursor | Keith Bostic | 2014-06-11 | 4 | -16/+15 |
| | |/ | | | | | | | | | | | | | | | | | | | | | | structure into the WT_CURSOR structure as WT_CURSTD_CONFLICT_CHK. It's possible we could return from the row-search function with a match not found in the insert list, check for a NULL insert before indirecting through it. | ||||
| | * | Enhance comment. | Alex Gorrod | 2014-06-11 | 1 | -0/+4 |
| | | | |||||
| | * | Support snapshots in LSM via update checks, rather than actual updates. | Alex Gorrod | 2014-06-11 | 3 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | The current code inserts updates into old chunks, in order to check for conflicts with snapshot transactions. It's enough to do the conflict check without actually updating, and doing a check saves some mess with tracking when it's OK to checkpoint non-primary chunks. | ||||
| * | | Add wtperf option to execute lots of checkpoints during populate phase. | Alex Gorrod | 2014-06-12 | 2 | -4/+17 |
| | | | | | | | | | | | | Useful for catching races in LSM switch. | ||||
* | | | Merge branch 'develop' into leveldb-api | Michael Cahill | 2014-06-12 | 63 | -355/+546 |
|\ \ \ | |/ / | |||||
| * | | Fix a race in the populate phase of wtperf with multiple threads. | Alex Gorrod | 2014-06-12 | 1 | -2/+2 |
| | | | |||||
| * | | Allow merges to move past most recent maximum-sized chunk. #1053 | Susan LoVerso | 2014-06-11 | 1 | -1/+2 |
| | | | |||||
| * | | If the string isn't configured at all, output an empty string. | Keith Bostic | 2014-06-11 | 1 | -1/+2 |
| | | | |||||
| * | | Reinstate a check after deepening a tree that the child pages are internal ↵ | Michael Cahill | 2014-06-11 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | pages before descending into them. refs #1048, #1056. | ||||
| * | | Merge pull request #1056 from wiredtiger/stall-eviction-1048 | Michael Cahill | 2014-06-11 | 4 | -18/+52 |
| |\ \ | | |/ | |/| | Don't free created internal pages from deepen-split until it's safe. | ||||
| | * | Check on transaction release if we can release any segments from the | Keith Bostic | 2014-06-10 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | session's free-on-transaction generation list, we were accumulating them until connection close, which wasn't correct. | ||||
| | * | When deepening the tree, don't free the newly created child pages until after | Keith Bostic | 2014-06-10 | 3 | -4/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | it's known that all threads have exited the original page's page index array. This fixes two problems: first, threads in the original page index array can see freed WT_REF structures if the newly created child pages are evicted too soon, and at the end of the function that deepens the tree (after making the deepen-the-tree split "real", we read through the newly created child pages without holding hazard references. Reference #1048. | ||||
| | * | The parent page type must be an internal page, don't bother testing for | Keith Bostic | 2014-06-10 | 1 | -6/+2 |
| | | | | | | | | | | | | leaf pages, it's confusing. | ||||
| | * | The parent page of a split must be an internal page by definition, don't | Keith Bostic | 2014-06-10 | 1 | -5/+1 |
| | | | | | | | | | | | | bother testing for leaf pages, it's confusing. | ||||
| | * | If we're in the split-deepen code, there's no need to check if we're looking | Keith Bostic | 2014-06-10 | 1 | -3/+0 |
| | | | | | | | | | | | | at tree internal pages, we are, by definition. | ||||
| * | | We haven't been consistently checking for configuration options that | Keith Bostic | 2014-06-10 | 2 | -64/+52 |
| |/ | | | | | | | | | | | aren't applicable to the underlying storage types of the run (for example, bloom filter settings for non-LSM runs). Just remove those CONFIG file messages, it's simpler, more consistent and less work. | ||||
| * | Alex notes that the current code will continue running if the pluggable | Keith Bostic | 2014-06-09 | 1 | -4/+4 |
| | | | | | | | | | | | | | | decompression fails, but if the returned decompressed length isn't what we expect, we'll panic. For now, change the code to always panic -- it would be simple enough to continue in this case, should we want to. Reference #1055. | ||||
| * | Add explicit os_cache_dirty_max settings for LSM wtperf tests. #1051 | Susan LoVerso | 2014-06-09 | 34 | -38/+43 |
| | | | | | | | | Add code to ignore the setting if sync_file_range is not available. | ||||
| * | Set the WT_REF.home; not currently used for anything, but a valid WT_REF | Keith Bostic | 2014-06-09 | 1 | -1/+3 |
| | | | | | | | | should never have a NULL home field. | ||||
| * | Assert the parent's WT_REF.home is correct in all cases. | Keith Bostic | 2014-06-09 | 1 | -1/+1 |
| | | |||||
| * | Update a comment, sentence no longer needed. | Keith Bostic | 2014-06-07 | 1 | -3/+0 |
| | | |||||
| * | Make the "leak_memory" configuration explicit in the test/format config, off ↵ | Michael Cahill | 2014-06-06 | 4 | -2/+10 |
| | | | | | | | | by default. Fix a leak with repeated setting of configuration values. | ||||
| * | Fix an implicit sign conversion found by clang 3.5. | Michael Cahill | 2014-06-06 | 1 | -3/+4 |
| | | |||||
| * | Add custom key sorting function for times. #1052 | Susan LoVerso | 2014-06-05 | 1 | -1/+9 |
| | | |||||
| * | Change test1-4 to max out with 2 billion items. | Susan LoVerso | 2014-06-05 | 4 | -1/+1 |
| | | |||||
| * | Merge pull request #1045 from wiredtiger/recover-missing-files | sueloverso | 2014-06-05 | 1 | -13/+26 |
| |\ | | | | | | | Fix a bug in recovery with missing files | ||||
| | * | Fix a bug in recovery with missing files (e.g., after a hotbackup that raced ↵ | Michael Cahill | 2014-06-03 | 1 | -13/+26 |
| | | | | | | | | | | | | | | | | | | with file creation). refs #1042 | ||||
| * | | Merge pull request #1051 from wiredtiger/lsm-latencies | sueloverso | 2014-06-05 | 3 | -48/+51 |
| |\ \ | | | | | | | | | Fix some LSM latency issues | ||||
| | * | | Fix some LSM latency issues: | Michael Cahill | 2014-06-05 | 3 | -48/+51 |
| | | | | | | | | | | | | | | | | | | | | * have merge threads periodically check whether the tree needs to be switched in case the checkpoint thread is blocked; and * don't turn on os_cache_dirty_max by default for LSM. | ||||
| * | | | I believe the clang complaint is because the skiphigh/skiplow values are | Keith Bostic | 2014-06-05 | 1 | -34/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | longer than the 0th key on the internal page, and when we try and skip over the initial bytes, we read past the end of the key. Skiphigh/skiplow are a lot more valuable in terms of performance than avoiding the branch instruction, give up: don't do the 0th key comparison inside the internal loop. | ||||
| * | | | Instead of byte-copying the WT_IKEY structure and data, call the standard | Keith Bostic | 2014-06-05 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | underlying supporting function. Clang is complaining about the internal page binary search function going off the end of the allocated memory: I don't see a bug here, but there's no reason to create the WT_IKEY structure in a non-standard way, and maybe I'm just missing something. | ||||
| * | | | Merge pull request #1050 from wiredtiger/row-store-internal-page | Keith Bostic | 2014-06-05 | 3 | -100/+101 |
| |\ \ \ | | |/ / | |/| | | Row store internal page search optimizations. | ||||
| | * | | Merge branch 'develop' into row-store-internal-page | Keith Bostic | 2014-06-05 | 1 | -2/+47 |
| | |\ \ | | |/ / | |/| | | |||||
| * | | | Merge pull request #1049 from wiredtiger/json-doc | Keith Bostic | 2014-06-04 | 1 | -2/+47 |
| |\ \ \ | | | | | | | | | | | Json doc | ||||
| | * | | | Add the word "dump" to the section headings for clarity. | Keith Bostic | 2014-06-04 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Add more detail about our JSON output, along with a small sample. refs #740. | Don Anderson | 2014-06-04 | 1 | -0/+45 |
| | | |/ | | |/| | |||||
| | | * | Reverse change to use -1, 0 and 1 tests against collation returns, | Keith Bostic | 2014-06-05 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | debugging application collators that return a range of values is a pain. | ||||
| | | * | Minor code shuffle to make the flow a little more obvious. | Keith Bostic | 2014-06-04 | 1 | -2/+2 |
| | | | | |||||
| | | * | Re-order the comparison cascading if/else clauses to put the least | Keith Bostic | 2014-06-04 | 1 | -19/+16 |
| | | | | | | | | | | | | | | | | likely option (a match, where cmp == 0), last. |