Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "For now, just rename the WiredTiger function __wt_cursor_equals...", | Don Anderson | 2015-01-22 | 1 | -1/+1 |
| | | | | | | since we've resolved the underlying problem. This reverts commit 010059e721d1c6bd4d81214ab80402866de41345. | ||||
* | For now, just rename the WiredTiger function __wt_cursor_equals to be | Keith Bostic | 2015-01-17 | 1 | -1/+1 |
| | | | | | __wt_cursor_equal. We'll do a better fix to avoid the problem in the future, when we have a few minutes. | ||||
* | Merge branch 'develop' into cursor-equal | Michael Cahill | 2015-01-17 | 1 | -2/+1 |
|\ | | | | | | | | | | | | | Conflicts: src/cursor/cur_std.c src/cursor/cur_table.c src/include/extern.h | ||||
| * | Merge branch 'develop' into cursor-reconfigure | Keith Bostic | 2015-01-16 | 1 | -2/+0 |
| |\ | |||||
| * \ | Merge branch 'develop' into cursor-reconfigure | Michael Cahill | 2015-01-14 | 8 | -11/+16 |
| |\ \ | |||||
| * \ \ | Merge branch 'develop' into cursor-reconfigure | Keith Bostic | 2014-12-22 | 3 | -7/+23 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch 'develop' into cursor-reconfigure | Keith Bostic | 2014-12-15 | 5 | -21/+22 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cursor/cur_metadata.c | ||||
| * | | | | | Add support for a WT_CURSOR.reconfigure method, reference #1381. | Keith Bostic | 2014-12-11 | 1 | -2/+1 |
| | | | | | | |||||
* | | | | | | Merge branch 'develop' into cursor-equal | Michael Cahill | 2015-01-17 | 1 | -2/+0 |
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | Conflicts: lang/python/wiredtiger.i | ||||
| * | | | | | Defer the cache full check from begin_transaction until the first operation ↵ | Michael Cahill | 2015-01-14 | 1 | -2/+0 |
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | that requires an ID or snapshot. refs SERVER-16790 | ||||
* | | | | | Rename WT_CURSOR compare_equal to be equals. | Alex Gorrod | 2015-01-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While here, add a generic cursor equals stub in curstd, rather than redirecting via cursor function pointer lists. Implement the Java API wrapper. | ||||
* | | | | | Add support for the WT_CURSOR.compare_equal method. | Keith Bostic | 2015-01-10 | 1 | -0/+1 |
|/ / / / | |||||
* | | | | Simplify error path in clsm_close. Refs #1527. | Alex Gorrod | 2015-01-07 | 1 | -4/+1 |
| | | | | |||||
* | | | | Cache a maximum of 2MB per session for scratch buffers (configurable via an ↵ | Michael Cahill | 2015-01-05 | 4 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | undocumented "session_scratch_max" config). SERVER-16623 | ||||
* | | | | Copyright notices: add MongoDB, update to 2015. | Keith Bostic | 2015-01-04 | 8 | -0/+8 |
| |_|/ |/| | | |||||
* | | | Remove the SET/CLEAR_BTREE_IN_SESSION macros: now we have WT_WITH_DHANDLE, ↵ | Michael Cahill | 2014-12-19 | 1 | -2/+4 |
| | | | | | | | | | | | | they don't make much sense. | ||||
* | | | Don't set the LSM tree collator to "none" if that's what was specified. | Keith Bostic | 2014-12-16 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #1465 from wiredtiger/lsm-cleanup | sueloverso | 2014-12-15 | 1 | -4/+18 |
|\ \ \ | |_|/ |/| | | Minor cleanup. #1447 | ||||
| * | | whitespace | Michael Cahill | 2014-12-12 | 1 | -1/+0 |
| | | | |||||
| * | | Fix copy-paste error. | Alex Gorrod | 2014-12-12 | 1 | -3/+3 |
| | | | |||||
| * | | Have LSM worker reconfigure work with min workers. | Alex Gorrod | 2014-12-12 | 1 | -7/+21 |
| | | | | | | | | | | | | References #1460. | ||||
| * | | Minor cleanup. #1447 | Susan LoVerso | 2014-12-11 | 1 | -7/+8 |
| |/ | |||||
* | | Most WiredTiger calloc calls are to allocate a single structure, | Keith Bostic | 2014-12-15 | 5 | -10/+10 |
| | | | | | | | | | | create the macro __wt_calloc_one that doesn't take a count or a sizeof. | ||||
* | | Preserve LSM values prefixed with tombstones across merges. | Michael Cahill | 2014-12-12 | 1 | -7/+9 |
| | | | | | | | | This has been causing failures in jstests/noPassthroughWithMongod/btreedel.js. | ||||
* | | src/lsm/lsm_cursor.c:1203:12: warning: variable 'cmp' may be uninitialized ↵ | Michael Cahill | 2014-12-12 | 1 | -4/+3 |
|/ | | | | when used here [-Wconditional-uninitialized] | ||||
* | If LSM search_near finds a matching tombstone, step the whole LSM cursor ↵ | Michael Cahill | 2014-12-11 | 1 | -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 | ||||
* | Implement @agorrod's review feedback. | Michael Cahill | 2014-12-10 | 1 | -17/+18 |
| | |||||
* | Deal with the case where there is no chunk in an LSM tree to flush. | Michael Cahill | 2014-12-10 | 1 | -4/+7 |
| | |||||
* | Clarify the use of randomness in chunk selection for flushes. | Michael Cahill | 2014-12-09 | 1 | -35/+34 |
| | |||||
* | Make sure that the LSM tree is set up to trigger a switch before looping in ↵ | Michael Cahill | 2014-12-09 | 1 | -8/+10 |
| | | | | __clsm_enter_update. | ||||
* | Take more care to only set NEED_SWITCH once when a chunk becomes full. | Michael Cahill | 2014-12-09 | 1 | -3/+5 |
| | |||||
* | Don't try to find a chunk to flush in empty LSM trees. | Michael Cahill | 2014-12-09 | 1 | -1/+2 |
| | |||||
* | Improve and simplify the LSM switch logic: it is fine to keep writing into a ↵ | Michael Cahill | 2014-12-09 | 2 | -46/+60 |
| | | | | | | chunk while it is being switched, until either it hits the hard chunk size limit or a switch transaction ID is chosen that is larger than the writer's. Fixes an assertion failure introduced by #1432 that could write to an old chunk after the switch completed. refs #1432, #1418 | ||||
* | Fix new test for LSM workers max. | Alex Gorrod | 2014-12-08 | 1 | -1/+1 |
| | |||||
* | Tidy up previous change. Remove dead code. | Alex Gorrod | 2014-12-08 | 1 | -22/+1 |
| | |||||
* | If there are only two LSM worker threads, don't let the cache get full. | Alex Gorrod | 2014-12-08 | 1 | -27/+37 |
| | | | | | | | | Allow the first thread to do flushes as well as switches and drops if there are only two threads. Refs #1441, but this is a hang seen from that test/format configuration, not a segfault. | ||||
* | Merge branch 'develop' into none-config | Alex Gorrod | 2014-12-08 | 2 | -1/+3 |
|\ | | | | | | | | | Conflicts: dist/api_data.py | ||||
| * | Use the new WT_LSM_TREE_SWITCH_INPROGRESS flag to push work units | Susan LoVerso | 2014-12-03 | 2 | -1/+3 |
| | | | | | | | | instead of using the switch_txn setting as that is now set much later. | ||||
* | | Check for configurations of "none" in a wrapper around the config string ↵ | Michael Cahill | 2014-12-08 | 1 | -1/+2 |
|/ | | | | parser. There is some code that looks for explicit "none" strings (such as statistics configuration), and overriding "none" in all cases scares me. | ||||
* | Merge pull request #1416 from wiredtiger/lsm-ckpt-fixes | Alex Gorrod | 2014-11-28 | 1 | -8/+9 |
|\ | | | | | LSM checkpoint fixes | ||||
| * | Close a window switching LSM chunks where a newer transaction could modify a ↵ | Michael Cahill | 2014-11-28 | 1 | -8/+9 |
| | | | | | | | | chunk before the switch. | ||||
* | | The LSM manager thread needs the handle list to walk the list of LSM trees. | Michael Cahill | 2014-11-26 | 1 | -13/+25 |
|/ | |||||
* | Ignore returns from WT_ATOMIC_SUB4(). | Keith Bostic | 2014-11-25 | 1 | -2/+2 |
| | |||||
* | Fixup LSM workers, so evicting old chunks doesn't stop checkpoints. | Alex Gorrod | 2014-11-25 | 1 | -13/+30 |
| | | | | | | This change has two fixes: * Ensure there are enough work units on the queue for checkpoints. * Don't leave chunk reference counts out of wack. | ||||
* | Fix build warnings with diagnostic turned off. | Alex Gorrod | 2014-11-24 | 1 | -0/+2 |
| | |||||
* | whitespace | Keith Bostic | 2014-11-22 | 1 | -2/+1 |
| | |||||
* | No chunks exist before an item is inserted into the tree. Initialize the | Keith Bostic | 2014-11-22 | 1 | -9/+5 |
| | | | | | | data source statistics and then aggregate into those values in all cases, instead of assigning the first chunk's statistics into the data source statistics. | ||||
* | Revert to not holding the handle list lock when discarding LSM chunks: that ↵ | Michael Cahill | 2014-11-22 | 1 | -10/+2 |
| | | | | | | does a lot of work inside a lock that blocks common operations. refs #1391 | ||||
* | Fix a race between creating and opening an LSM tree that gave an off-by-one ↵ | Michael Cahill | 2014-11-22 | 1 | -59/+72 |
| | | | | reference count. | ||||
* | Wait for the handle list lock when discarding in-memory chunks from an LSM ↵ | Michael Cahill | 2014-11-22 | 1 | -2/+10 |
| | | | | | | tree. This avoids a trylock that has to fight with eviction walks, so we will discard chunks more consistently. refs #1391 |