Commit graph

1366 commits

Author SHA1 Message Date
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
Rich Prohaska
8cf3df0992 port 32 bit
git-svn-id: file:///svn/tokudb@3324 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 11:19:20 +00:00
Bradley C. Kuszmaul
6298988642 Merge the tokudb.558 branch back to to the main branch with:
{{{
svn merge -r3272:3320 https://svn.tokutek.com/tokudb/tokudb.558
}}}
No conflicts.


git-svn-id: file:///svn/tokudb@3322 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-07 01:30:25 +00:00
Bradley C. Kuszmaul
22cf859734 Write leafentry code, and get things to compile. Make it more compatible with -Wconversion. Addresses #558.
git-svn-id: file:///svn/tokudb@3270 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 18:22:01 +00:00
Bradley C. Kuszmaul
7e5dfd3e5d Write leafentry code, and get things to compile. Addresses #558.
git-svn-id: file:///svn/tokudb@3269 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 18:03:03 +00:00
Bradley C. Kuszmaul
34c35d8731 {{{ybt.c}}} was trying to {{{find_db_file}}} after closing the file. Now it finds the filename first, closes the db, and then unlinks the file. Fixes #644.
git-svn-id: file:///svn/tokudb@3266 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 13:36:16 +00:00
Bradley C. Kuszmaul
3d58de68e4 Stop running {{{bug627.bdb}}}. Fixes #643.
git-svn-id: file:///svn/tokudb@3265 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 13:26:01 +00:00
Bradley C. Kuszmaul
2b6e3bbc61 Fix the test-inc-split bug (fingerprints gone wild...). Fixes #642.
git-svn-id: file:///svn/tokudb@3264 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 13:13:51 +00:00
Bradley C. Kuszmaul
16c5c5d5ae Did
{{{
svn merge -r3229:3230 https://svn.tokutek.com/tokudb/tokudb.558
}}}
and resolved the conflicts.  Now I'll get rid of the 558 branch again.
Addresses #558.


git-svn-id: file:///svn/tokudb@3262 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 13:01:20 +00:00
Bradley C. Kuszmaul
d9799d8daf The order in which the two callbacks is done has changed during pma splitting. The inter-gpma callback is done first, then the intra-gpma is done. The test had it backward. Fixes #641.
git-svn-id: file:///svn/tokudb@3260 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 12:33:44 +00:00
Yoni Fogel
d2fee86b73 Closes #638
Port of toku__lt_init_full_query to OSX's somewhat broken compiler.

git-svn-id: file:///svn/tokudb@3257 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 01:48:33 +00:00
Yoni Fogel
bfcee0fe5f Addresses #571
Lock tree further disentangled from transactions.
Now uses a function to compare txnids all the time instead of direct
integer compare, also removed asserts checking for them to be non 0,
since 0 is a valid TXN id.

git-svn-id: file:///svn/tokudb@3256 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-04 01:25:01 +00:00
Bradley C. Kuszmaul
648535fdeb {{{test-recover3.tdb}}} now runs. Addresses #558.
git-svn-id: file:///svn/tokudb@3255 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 23:00:59 +00:00
Bradley C. Kuszmaul
07591bd14a {{{test-recover3.tdb}}} doesn't crash during recovery now. (It crashes because it recovered to the wrong state.) Addresses #558.
git-svn-id: file:///svn/tokudb@3254 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 22:27:32 +00:00
Bradley C. Kuszmaul
9e82871d21 Clean up the makefiles a little more. Addresses #630.
git-svn-id: file:///svn/tokudb@3252 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 20:41:53 +00:00
Bradley C. Kuszmaul
b8940404c0 Make all those tests run again. Fixes #635.
git-svn-id: file:///svn/tokudb@3250 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 20:24:47 +00:00
Bradley C. Kuszmaul
7481d53f47 Add another stress test for the gpma. Addresses #558.
git-svn-id: file:///svn/tokudb@3245 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 18:53:34 +00:00
Rich Prohaska
5b9d12914e toku_verify_gpma removed as it is part of code verification. closes #633
git-svn-id: file:///svn/tokudb@3240 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 17:11:43 +00:00
Rich Prohaska
8b9ec931ec another small mempool. addresses #632
git-svn-id: file:///svn/tokudb@3238 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 13:49:16 +00:00
Bradley C. Kuszmaul
f293366ddc Fix the undersized buffer pool problem. Fixes #632. Addresses #580.
git-svn-id: file:///svn/tokudb@3237 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 13:13:21 +00:00
Bradley C. Kuszmaul
02e0667890 Create a test for #632. Addresses #632.
git-svn-id: file:///svn/tokudb@3234 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 13:02:15 +00:00
Bradley C. Kuszmaul
7075d9fe53 Fix up Makefile and svn:ignore properties. Addresess #630.
I did:
{{{
svn merge -r3229:3230 https://svn.tokutek.com/tokudb/tokudb.558
}}}


git-svn-id: file:///svn/tokudb@3231 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 03:12:09 +00:00
Rich Prohaska
91376533d9 port to 32 bit machines. addresses #631
git-svn-id: file:///svn/tokudb@3227 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 00:13:34 +00:00
Bradley C. Kuszmaul
83d416fa09 Merge the 558 branch back to the main with
{{{
svn merge -r3061:3225 https://svn.tokutek.com/tokudb/tokudb.558
}}}

Fixes #630.
Addresses #558.


git-svn-id: file:///svn/tokudb@3226 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-02 23:40:36 +00:00
Yoni Fogel
48d81cd4fc Make build should be faster now,
ignoring the non-fast version of the lock trees

git-svn-id: file:///svn/tokudb@3220 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-02 20:24:40 +00:00
Bradley C. Kuszmaul
07b339f32c A test for #627. This test doesn't show anything wrong. Addresses #627.
git-svn-id: file:///svn/tokudb@3219 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-02 18:53:11 +00:00