Bradley C. Kuszmaul
7523273fb8
On commit push into tree instead of root if possible. Addresses #735 .
...
git-svn-id: file:///svn/tokudb@3668 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-27 12:34:50 +00:00
Bradley C. Kuszmaul
d5f2eec078
Add the list of txns. Addresses #735 . Fixes #749 .
...
git-svn-id: file:///svn/tokudb@3659 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-26 03:16:30 +00:00
Bradley C. Kuszmaul
4d059818dc
Make the makefile happier. Don't recompile as many things. Fixes #753 .
...
git-svn-id: file:///svn/tokudb@3658 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-26 02:56:38 +00:00
Bradley C. Kuszmaul
20bb869ac0
brt2.c undo
...
git-svn-id: file:///svn/tokudb@3652 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 17:46:46 +00:00
Yoni Fogel
0e863f757d
Updated makefile for cscope
...
git-svn-id: file:///svn/tokudb@3651 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 16:34:48 +00:00
Bradley C. Kuszmaul
ecd0b0a971
Start adding the lists. Addresses #749 .
...
git-svn-id: file:///svn/tokudb@3647 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 14:22:05 +00:00
Bradley C. Kuszmaul
9f99493d4e
Change the {{{LEAFENTRY}}} to {{{OMTVALUE}}} when using the omt, and also change the type of {{{OMTVALUE}}} to {{{void*}}} so we can have two different OMTs coexisting. Fixes #750 .
...
git-svn-id: file:///svn/tokudb@3646 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 13:46:17 +00:00
Bradley C. Kuszmaul
8489ae2389
Change the {{{LEAFENTRY}}} to {{{OMTVALUE}}} when using the omt, and also change the type of {{{OMTVALUE}}} to {{{void*}}} so we can have two different OMTs coexisting. Fixes #750 .
...
git-svn-id: file:///svn/tokudb@3645 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 13:45:55 +00:00
Yoni Fogel
f5c013274e
Added support for cscope (similar to etags) in the makefile
...
git-svn-id: file:///svn/tokudb@3636 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-24 22:10:13 +00:00
Rich Prohaska
0c34376208
print the node layout_version. closes #743
...
git-svn-id: file:///svn/tokudb@3627 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-24 15:44:10 +00:00
Yoni Fogel
49737f8ee2
Addresses #724
...
changed magic number 100 to a constant
git-svn-id: file:///svn/tokudb@3625 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-24 15:21:39 +00:00
Yoni Fogel
22ccd07053
Addresses #724
...
Changes to omt-test pursuant to code review.
Now tests split at |tree|.
Deleted duplicated delete test.
git-svn-id: file:///svn/tokudb@3622 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-24 14:58:20 +00:00
Zardosht Kasheff
e17a4c1d53
addresses #724
...
finished testing for split and merge (this checkin has boundary cases)
git-svn-id: file:///svn/tokudb@3605 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 21:10:03 +00:00
Zardosht Kasheff
bb6fc7ebe9
addresses #724
...
finished most of testing for split and merge
still need to test error cases such as times when ERANGE is expected
git-svn-id: file:///svn/tokudb@3604 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 21:02:55 +00:00
Yoni Fogel
fca58d6382
Addresses #724
...
Put in comments for what form of tests we need for split and merge.
git-svn-id: file:///svn/tokudb@3602 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 19:54:18 +00:00
Yoni Fogel
58d3edb58b
Addresses #724
...
Tests for insert.
BUGFIX: Insert now properly returns DB_KEYEXIST if the heaviside function
returns 0 for some value in the tree.
git-svn-id: file:///svn/tokudb@3601 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 19:51:30 +00:00
Yoni Fogel
4141778bf7
Addresses #724
...
Fix memory leak in test.
git-svn-id: file:///svn/tokudb@3598 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 17:57:57 +00:00
Zardosht Kasheff
a1c8113c29
Addresses #724
...
test delete
git-svn-id: file:///svn/tokudb@3592 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 16:46:35 +00:00
Zardosht Kasheff
437fb1bf6b
addresses #724
...
add test for set_at
git-svn-id: file:///svn/tokudb@3591 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 15:40:57 +00:00
Zardosht Kasheff
d4dfff49aa
addresses #724
...
remove some tabs and replace with spaces in order to make consistent
with rest of file
git-svn-id: file:///svn/tokudb@3590 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 14:16:34 +00:00
Bradley C. Kuszmaul
0b880e866e
Merge onto the main line again.
...
{{{
svn merge -r3571:3582 https://svn.tokutek.com/tokudb/tokudb.724
}}}
git-svn-id: file:///svn/tokudb@3583 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-23 04:17:28 +00:00
Bradley C. Kuszmaul
33b252772a
Merge in the OMT and its integration into the main line.
...
{{{
$ cd tokudb
$ svn merge -r3533:3571 https://svn.tokutek.com/tokudb/tokudb.724
}}}
There remain a few problems with recovery, but the main line has problems with recovery, so let's bite the bullet and move forward.
Fixes #729 , #724 .
git-svn-id: file:///svn/tokudb@3572 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 20:39:50 +00:00
Bradley C. Kuszmaul
0a37b67326
Get rid of some junk.
...
git-svn-id: file:///svn/tokudb@3571 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 20:36:59 +00:00
Rich Prohaska
cc0fc35141
bradley fixed the child transaction commit with a rollback log in an external file. closes #730
...
git-svn-id: file:///svn/tokudb@3566 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 17:09:24 +00:00
Bradley C. Kuszmaul
23efff4b4e
Tune the big-nested abort/commit tests down to about 8s usr (30s elapsed) each. (5m under valgrind.) Addresses #730 .
...
git-svn-id: file:///svn/tokudb@3560 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 14:03:40 +00:00
Bradley C. Kuszmaul
d3dbead847
Improve test case (still works.) Addresses #730 .
...
git-svn-id: file:///svn/tokudb@3558 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 13:43:23 +00:00
Bradley C. Kuszmaul
21ef44a7c5
Another test case (this one works). Addresses #730 .
...
git-svn-id: file:///svn/tokudb@3556 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 13:25:16 +00:00
Bradley C. Kuszmaul
e90cf30c7f
Another test case. Addresses #730 .
...
git-svn-id: file:///svn/tokudb@3555 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 13:22:04 +00:00
Bradley C. Kuszmaul
3c2f77f978
Rename. Addresses #730 .
...
git-svn-id: file:///svn/tokudb@3554 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 13:18:06 +00:00
Bradley C. Kuszmaul
e18b1e765f
Add a BDB-layer test for #730 . Addresses #730 .
...
git-svn-id: file:///svn/tokudb@3553 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-22 13:17:37 +00:00
Rich Prohaska
ddd8dff149
32 bit port
...
git-svn-id: file:///svn/tokudb@3532 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-21 12:09:12 +00:00
Bradley C. Kuszmaul
8813e3eb3a
Store the rollbacks on disk. Fixes #711 . Addresses #698 (maybe fixes it).
...
git-svn-id: file:///svn/tokudb@3528 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-21 04:22:45 +00:00
Rich Prohaska
0ebdc145de
add cmd line parameters to allow one to control the env open flags. addresses #460
...
git-svn-id: file:///svn/tokudb@3525 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-20 11:14:05 +00:00
Yoni Fogel
669172d3f8
Addresses #596
...
Renamed oma to omt in all instances
git-svn-id: file:///svn/tokudb@3521 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-20 04:13:37 +00:00
Yoni Fogel
1b5a0c9994
Addresses #596
...
Renamed om.h to omt.h
git-svn-id: file:///svn/tokudb@3520 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-20 04:11:33 +00:00
Yoni Fogel
c1e9f320e8
Addresses #596
...
Made changes to Bradley's proposed .h file pursuant to comments.
git-svn-id: file:///svn/tokudb@3519 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-20 04:11:02 +00:00
Yoni Fogel
196c76bdc8
Addresses #596
...
Updated .h file pursuant to Bradley's comments
git-svn-id: file:///svn/tokudb@3518 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-20 03:17:41 +00:00
Yoni Fogel
d682039099
Addresses #596
...
Preliminary .h file, with perhaps all functions needed
git-svn-id: file:///svn/tokudb@3517 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-19 21:07:46 +00:00
Bradley C. Kuszmaul
ce2f9354f3
Use the filenums slower. Fixes #722 .
...
git-svn-id: file:///svn/tokudb@3513 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-18 21:30:39 +00:00
Bradley C. Kuszmaul
6759e38875
Fixes #721 .
...
Improve recovery for at least one case. Addresses #703 .
The logfiles that Rich built seem corrupt, so I cannot make progress on the next case.
git-svn-id: file:///svn/tokudb@3506 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-18 14:45:04 +00:00
Rich Prohaska
b928964f4b
cleanup at the end of the delete_at test. closes #720
...
git-svn-id: file:///svn/tokudb@3505 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-18 13:59:16 +00:00
Yoni Fogel
0fa60a2494
Addresses #596
...
Added extra questions.
git-svn-id: file:///svn/tokudb@3501 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-17 21:13:22 +00:00
Yoni Fogel
0573fed6b9
Addresses #596
...
Added extra questions.
git-svn-id: file:///svn/tokudb@3499 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-17 18:58:15 +00:00
Yoni Fogel
13184601d4
Addresses #596
...
An informal .h file to describe functionality provided by
the order maintenance structure.
git-svn-id: file:///svn/tokudb@3498 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-17 18:56:37 +00:00
Rich Prohaska
950b199a16
32 bit port
...
git-svn-id: file:///svn/tokudb@3494 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-17 12:14:13 +00:00
Bradley C. Kuszmaul
85905624d4
Create code to compute the size of a rollback entry. Addresses #711 .
...
git-svn-id: file:///svn/tokudb@3490 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-17 10:46:19 +00:00
Bradley C. Kuszmaul
8511ea7372
Log db close so that recovery will work right if the same db is opened and closed repeatedly.
...
Also the file numbers can thus be reused.
Don't pass the BRT into the flush commands, since the BRT may no longer be present.
Put a counter in to see how many rollback records are present. (Addresses #698.)
Increment the file version to 4.
Fixes #545 , #703 .
Note: All the tests pass except
* Many cxx tests are getting valgrind errors. (Addresses #716 . Possibly causes #716.)
* {{{test_log9.recover}}} fails with "Binary files ... differ". These will presumably be fixed by #711 or #714 . (Addresses #711 , #714.)
* {{{test_log10.recover}}} fails. There are two failures:
1. A valgrind problem (see #718.) (Addresses #718 . Possibly causes #718.)
1. The "Binary files ... differ" issue.
git-svn-id: file:///svn/tokudb@3486 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-17 03:11:55 +00:00
Bradley C. Kuszmaul
81623308d2
Now the makefile has a way to be happy when a test fails. The groupcommit test passes (even though it fails). The two recovery tests fail, but those are real failures, so I'll consider that this Fixes #706 .
...
git-svn-id: file:///svn/tokudb@3481 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-16 10:01:00 +00:00
Rich Prohaska
d1f5bdb03f
the regression no longer hit the node size assert. closes #676
...
git-svn-id: file:///svn/tokudb@3465 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-15 14:21:24 +00:00
Bradley C. Kuszmaul
aee780f405
According to the BDB documentation, the flags (e.g., DUPSORT) must match the file.
...
The actual BDB behavior seems to allow the flags to be 0.
TokuDB returns {{{EINVAL}}}, which seems correct.
So I changed the test to say it's OK.
Fixes #690 .
git-svn-id: file:///svn/tokudb@3461 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-15 01:30:56 +00:00