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
Rich Prohaska
96f55286aa
test case for tokudb env recovery assert. addresses #703
...
git-svn-id: file:///svn/tokudb@3458 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-14 20:21:30 +00:00
Bradley C. Kuszmaul
7438404c8b
Make the system compile again. Addresses #701 .
...
git-svn-id: file:///svn/tokudb@3454 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-14 16:01:01 +00:00
Bradley C. Kuszmaul
676c4dc0ee
A fix that makes the {{{test_dupsort_del}}} pass. However {{{test_dupsort_del_checksum}}} still breaks under TokuDB, but not under BDB. Addesses #690 .
...
git-svn-id: file:///svn/tokudb@3442 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-12 14:50:50 +00:00
Bradley C. Kuszmaul
eb9b6d8558
Add support to the gpma to delete an item at a particular index. Addresses #690 .
...
git-svn-id: file:///svn/tokudb@3441 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-12 10:24:37 +00:00
Bradley C. Kuszmaul
671074d40e
Another test for #690 . This one sees a checksum error while deserializing a node. Addresses #690 .
...
git-svn-id: file:///svn/tokudb@3440 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-12 10:02:57 +00:00
Bradley C. Kuszmaul
31f5dc7345
Create a testcase for the root cause of #690 . This test notices that the wrong thing is deleted. Addresses #690 .
...
git-svn-id: file:///svn/tokudb@3439 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-12 09:58:47 +00:00
Bradley C. Kuszmaul
a636c8f7e3
Work on trace implementation. Addresses #701 .
...
git-svn-id: file:///svn/tokudb@3437 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-12 09:12:22 +00:00
Bradley C. Kuszmaul
db89cbfd5e
Comment out of the printf statement for the beta. The printf would tell us if the slow and fast get out of sync. Addresses #676 .
...
git-svn-id: file:///svn/tokudb@3406 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-10 01:04:31 +00:00
Bradley C. Kuszmaul
1a31f3dbce
The fix is to #687 is that the latest value from a le_both was providing the committed value rather than the provisional value. Fixes #687
...
git-svn-id: file:///svn/tokudb@3404 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 21:43:13 +00:00
Bradley C. Kuszmaul
9f8285c235
Expand the test for #687 .
...
git-svn-id: file:///svn/tokudb@3403 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 21:41:02 +00:00
Bradley C. Kuszmaul
7fccf2cc71
Create a test for #687 .
...
git-svn-id: file:///svn/tokudb@3401 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 21:26:35 +00:00
Bradley C. Kuszmaul
470762fd97
A little more dead code. Addresses #684 .
...
git-svn-id: file:///svn/tokudb@3399 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 21:08:17 +00:00
Bradley C. Kuszmaul
2d22815d0a
Fix up the {{{toku_serialize_brtnode_size_slow}}} to work right on non-leaf nodes. Fixes #685 .
...
git-svn-id: file:///svn/tokudb@3393 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 19:11:15 +00:00
Bradley C. Kuszmaul
a8a3471e43
Remove dead code for expunging fifos. Fixes #684 .
...
git-svn-id: file:///svn/tokudb@3392 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 18:52:03 +00:00
Bradley C. Kuszmaul
2102667943
Get rid of the wrong assertion. Fixes #671 .
...
git-svn-id: file:///svn/tokudb@3388 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 17:13:13 +00:00
Rich Prohaska
0e92670173
the node size counter gets out of sync with reality. programs assert
...
during serialization to the disk when the real size is smaller than the
node size counter. so we are going to recompute the node size when
the node is being serialized.
addresses #676
git-svn-id: file:///svn/tokudb@3384 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 15:46:41 +00:00
Bradley C. Kuszmaul
b58a413bce
{{{
...
svn merge -r3352:3375 https://svn.tokutek.com/tokudb/tokudb.558a
}}}
with no conflicts.
Fixes #672 , #558 , #680 .
git-svn-id: file:///svn/tokudb@3376 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-09 02:45:27 +00:00
Rich Prohaska
33ea1592fb
get -pg working with db-benchmark-test
...
git-svn-id: file:///svn/tokudb@3367 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-08 15:20:36 +00:00
Bradley C. Kuszmaul
b1ecd56ca0
Get the lsn's right on {{{brtenq}}} operations. Fixes #678 .
...
git-svn-id: file:///svn/tokudb@3350 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-08 03:20:59 +00:00
Bradley C. Kuszmaul
ab12ba3afb
Implemented tests for the confused-about-provisional-deletes bug. {{{test_log6a_abort}}} works now. Fixes #677 .
...
git-svn-id: file:///svn/tokudb@3349 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-08 02:09:19 +00:00
Bradley C. Kuszmaul
3879c7b718
Improve test for #677
...
git-svn-id: file:///svn/tokudb@3348 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-08 01:47:09 +00:00
Bradley C. Kuszmaul
50b1ef07c3
Test for #677
...
git-svn-id: file:///svn/tokudb@3347 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-08 01:45:14 +00:00
Bradley C. Kuszmaul
1cb806f768
Fixes #674 .
...
git-svn-id: file:///svn/tokudb@3340 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 20:41:36 +00:00
Bradley C. Kuszmaul
093dd99e60
Changing the cachetable broke the cachetable-test. Addresses #669 .
...
git-svn-id: file:///svn/tokudb@3339 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 20:32:10 +00:00
Bradley C. Kuszmaul
f618aba2b8
Changing the size calculation broke brt-test. Changed it so if cachetable overflows its budget, then the cachetable continues to work. Addresses #669 .
...
git-svn-id: file:///svn/tokudb@3338 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 19:52:49 +00:00
Bradley C. Kuszmaul
067e81fa24
Add leafentry.o to Makefile.
...
git-svn-id: file:///svn/tokudb@3337 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 19:49:10 +00:00
Rich Prohaska
8e0a9cc188
delete an assert that causes db-build to crash. addresses #671
...
git-svn-id: file:///svn/tokudb@3336 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 18:11:13 +00:00
Rich Prohaska
eaca95da94
fix an errno leak in the deserialize code. closes #670
...
git-svn-id: file:///svn/tokudb@3335 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 15:54:58 +00:00
Bradley C. Kuszmaul
77b41b1938
Make {{{brtnode_size()}}} more accurate. Fixes #669 .
...
git-svn-id: file:///svn/tokudb@3334 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 14:53:10 +00:00
Bradley C. Kuszmaul
915fcf3c4e
Some stuff didn't merge right. Addresses #558 .
...
git-svn-id: file:///svn/tokudb@3327 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 11:27:42 +00:00
Bradley C. Kuszmaul
8a20deadc3
Some stuff didn't merge right. Addresses #558 .
...
git-svn-id: file:///svn/tokudb@3326 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 11:26:05 +00:00
Bradley C. Kuszmaul
7f69ef1412
Some stuff didn't merge right. Addresses #558 .
...
git-svn-id: file:///svn/tokudb@3325 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 11:25:11 +00:00