Commit Graph

17817 Commits

Author SHA1 Message Date
Don Anderson
dce3b942e4 WT-2360 Introduced a more complex join example to show nesting and disjunction. 2016-04-14 15:58:09 -04:00
Don Anderson
12e9a78a60 WT-2360 Added documentation for join disjunctions and nested joins.
Clarified existing documentation in places.
2016-04-14 15:57:22 -04:00
Don Anderson
b0043f1f8e WT-2360 A new join test featuring a simple join clause parser to allow
for some more complex tests, mixing up join order, disjunctions and
conjunctions in various nesting.
2016-04-14 15:54:56 -04:00
Don Anderson
3a9ff3de21 WT-2360 Added some simple nesting and disjunctions to join tests.
Have tests modify the order of joins to make sure that it 1) does not
alter the list of values returned, 2) alters the order of return as expected.
Remove restrictions on the Bloom filters in the first join.
2016-04-14 15:51:18 -04:00
Don Anderson
1707b53973 WT-2360 A large set of changes to implement disjunctive and nested joins.
The join iterator now manages iteration at 'one level' of the join, as
subjoins are iterated, new iterators are created, forming a stack.
Added internal documentation in cursor.h.
2016-04-14 15:42:51 -04:00
Alex Gorrod
04a99e3b68 Bump release version on develop to 2.8.1 2016-03-24 15:46:29 +11:00
Alex Gorrod
45ed4d3856 Fixup dates for release versions 2.8.0 2016-03-24 15:19:29 +11:00
Alex Gorrod
62eb330256 Merge pull request #2611 from wiredtiger/2.8.0-release
2.8.0 release
2016-03-24 14:59:18 +11:00
Alex Gorrod
50f2361b4d Switch PPC to PowerPC. 2016-03-24 14:47:35 +11:00
Michael Cahill
dcc0d797ce Review edits of the changelog 2016-03-24 14:12:02 +11:00
Michael Cahill
d9a28c1c5b Change version to 2.8.0 in upgrading notes. 2016-03-24 13:52:04 +11:00
Alex Gorrod
fc99d7e530 Fixup changelog so it renders in our documentation. 2016-03-23 16:20:47 +11:00
Alex Gorrod
d16256ae1e Cut WiredTiger WT-2.8.0 release 2016-03-23 16:13:00 +11:00
Alex Gorrod
5e6f071cef WT-2507 Add upgrading documentation for LSN change. 2016-03-22 15:34:15 +11:00
Alex Gorrod
18e6091d9c Merge pull request #2609 from wiredtiger/wt-2503
WT-2503 Rename "wait" to avoid shadowing system call.
2016-03-22 14:15:33 +11:00
Alex Gorrod
828170f164 Merge pull request #2608 from wiredtiger/wt-2506
WT-2506 Reorder to fix uninitialized variable warning.
2016-03-22 14:11:16 +11:00
Michael Cahill
e3a043eed9 WT-2503 Rename "wait" to avoid shadowing system call. 2016-03-22 13:56:31 +11:00
Michael Cahill
1f21bcdca2 WT-2506 Reorder to fix uninitialized variable warning. 2016-03-22 13:48:14 +11:00
Alex Gorrod
d4e8d83cae Merge pull request #2606 from wiredtiger/wt-2501-lsm-drop
WT-2501 LSM drop can violate access assumptions.
2016-03-22 13:47:16 +11:00
Michael Cahill
80341eae71 WT-2501 Fix assertions to use new active field. 2016-03-22 13:16:47 +11:00
Michael Cahill
a060ab97ae Merge branch 'develop' into wt-2501-lsm-drop 2016-03-22 13:15:02 +11:00
Michael Cahill
2371e49042 Merge pull request #2605 from wiredtiger/wt-2499-lsm-race
WT-2499 Fix a race in LSM between setting and checking WT_LSM_TREE_ACTIVE
2016-03-22 13:14:06 +11:00
Alex Gorrod
300d2882c1 WT-2499 Cleanup LSM tree release 2016-03-22 11:36:58 +11:00
Alex Gorrod
a275c171de Merge pull request #2607 from wiredtiger/wt-2502
WT-2502 Free local allocation.
2016-03-22 09:29:48 +11:00
Alex Gorrod
4e62bc3b92 WT-2502 __wt_free clears the pointer; don't do it again. 2016-03-22 09:08:47 +11:00
Susan LoVerso
3a1990ac35 WT-2502 Free local allocation. 2016-03-21 15:42:00 -04:00
sueloverso
9f81190f99 Merge pull request #2598 from wiredtiger/wt-2426-checkpoint-locking
WT-2426 Lock all handles for checkpoints in one pass.
2016-03-21 13:41:44 -04:00
Alex Gorrod
9121562beb WT-2499 Fix LSM get with exclusive access set.
We should only set active when not opening an exclusive handle.
2016-03-21 17:36:49 +11:00
Alex Gorrod
bad1f3a25b WT-2501 LSM drop can violate access assumptions.
Add a test case demonstrating the problem.
2016-03-21 17:23:21 +11:00
Alex Gorrod
4c58e18e7b Merge branch 'develop' into wt-2426-checkpoint-locking 2016-03-21 12:18:35 +11:00
Alex Gorrod
b5a7e17420 WT-2499 Fix a race in LSM between setting and checking WT_LSM_TREE_ACTIVE.
Tree close relies on any state change being visible immediately. Found
by inspection, but could cause the symptom seen in this ticket.
2016-03-21 12:16:18 +11:00
Keith Bostic
4cc6155364 Merge pull request #2600 from wiredtiger/wt-2497-format
WT-2497 Create second backup copy.
2016-03-20 11:19:12 -04:00
Michael Cahill
70f112d99d Merge pull request #2601 from wiredtiger/wt-2498-lsm-drop-hang
WT-2498 Fix a bug in LSM where table drop could hang.
2016-03-18 15:45:02 +11:00
Michael Cahill
0eeaedd5c2 WT-2498 Fix LSM close logic.
Always wait for internal operations, optionally wait for application
operations.
2016-03-18 15:08:25 +11:00
Alex Gorrod
903dee9fd5 Merge pull request #2602 from wiredtiger/wt-2496-checkpoint-backup-race
WT-2496 Fix a race between checkpoint and starting a hot backup.
2016-03-18 14:54:10 +11:00
Michael Cahill
558672a31d WT-2496 Fix a race between checkpoint and starting a hot backup.
In particular, a checkpoint could mark and lock an old checkpoint for
deletion before a hotbackup starts.  The hotbackup could then write
metadata referencing that old backup which the checkpoint goes on to
delete.

The fix is crude: don't allow a hotbackup to start while a checkpoint
is in progress.
2016-03-18 14:28:45 +11:00
Alex Gorrod
5b4e57c4b5 WT-2498 Fix a bug in LSM where table drop could hang.
If there are open cursors.
2016-03-18 14:18:38 +11:00
Susan LoVerso
20b1a6ed80 WT-2497 Create second backup copy. 2016-03-17 10:39:32 -04:00
Michael Cahill
d5a67f2c0f Merge pull request #2592 from wiredtiger/wt-2490
WT-2490: search_near() returns wrong key for column-store
2016-03-17 16:47:51 +11:00
Alex Gorrod
019fb827cd Merge pull request #2599 from wiredtiger/wt-2495-malloc-tcmalloc
WT-2495 Make malloc calls use tcmalloc when configured.
2016-03-17 16:44:51 +11:00
Michael Cahill
1fdc632a10 Merge pull request #2596 from wiredtiger/wt-2414-join-extractor-lt
WT-2414 Avoid main table reads and extractions for the first index
2016-03-17 16:36:52 +11:00
Michael Cahill
fd9840f0e9 Merge branch 'develop' into wt-2426-checkpoint-locking 2016-03-17 16:32:40 +11:00
Michael Cahill
3d91b967d4 Merge pull request #2587 from wiredtiger/wt-2457-lsm-exclusive
WT-2457 Wait for LSM work units to drain when getting exclusive access.
2016-03-17 16:32:03 +11:00
Michael Cahill
b15c7d5d68 WT-2457 Review changes.
Rename LSM field "excl_session" to match WT_DATA_HANDLE, make new test
URI match test name.
2016-03-17 16:13:00 +11:00
Alex Gorrod
18aac3b0f1 WT-2495 Make malloc calls use tcmalloc when configured.
Otherwise we can free memoy with tcmalloc that was allocated
with the system allocator.
2016-03-17 15:44:07 +11:00
Keith Bostic
83bb8a3c49 Merge pull request #2591 from wiredtiger/wt-2492
WT-2492 Change printf format specifier to be Windows compatible.
2016-03-16 20:00:56 -04:00
Michael Cahill
0b8745ea5e WT-2426 Lock all handles for checkpoints in one pass.
In particular, gather all locks (including exclusive locks on old
checkpoints) under the schema / handle list lock so we never reenter
those locks once we have a handle exclusive.

This extends the duration that we hold exclusive locks on checkpoints
to include the write leaves phase.  If that turns out to be a problem,
we could further split out write leaves into a separate pass (that
releases all handles at the end).
2016-03-17 10:56:30 +11:00
Alex Gorrod
be18e7cf19 WT-2492 Add WT_PTRDIFFT_FMT for print statements.
Since there isn't a specifier that works on all platforms.
2016-03-17 10:42:15 +11:00
Alex Gorrod
69f40aeb87 Merge pull request #2595 from wiredtiger/wt-2481
WT-2481 Set memory_page_max after we read chunk_max.
2016-03-17 10:20:11 +11:00
Michael Cahill
cd08b9f736 Merge pull request #2590 from wiredtiger/wt-2485
WT-2485 Adjust lsm_tree->merge_min when we read the metadata.
2016-03-17 10:18:59 +11:00