Rich Prohaska
a754a77ff6
support OPTFLAGS
...
git-svn-id: file:///svn/tokudb@5006 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 13:27:55 +00:00
Bradley C. Kuszmaul
674f22ce5e
Buffer the reading of the rollback file. Gains 5% on large transactions. Fixes #1002 .
...
git-svn-id: file:///svn/tokudb@5005 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 12:00:26 +00:00
Rich Prohaska
6a0efbf923
test case to check mostly seq inserts. closes #1003
...
git-svn-id: file:///svn/tokudb@4984 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-08 17:54:35 +00:00
Rich Prohaska
4ac45ace29
detect mostly sequential insertions. addresses #1003
...
git-svn-id: file:///svn/tokudb@4979 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-08 11:08:15 +00:00
Rich Prohaska
97a2188053
send commits for delete operations. addresses #976
...
git-svn-id: file:///svn/tokudb@4875 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-01 19:52:35 +00:00
Rich Prohaska
2f5ebc7d8b
define the db->truncate function. addresses #968
...
git-svn-id: file:///svn/tokudb@4824 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-30 20:17:58 +00:00
Rich Prohaska
25019cfce5
reset the seq inserts counter when a node splits
...
git-svn-id: file:///svn/tokudb@4823 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-30 20:15:38 +00:00
Bradley C. Kuszmaul
5a8367a9b2
Cleanup more. Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4773 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-26 21:58:00 +00:00
Bradley C. Kuszmaul
96c14cbfe6
Cleanup. Addresses #944 , #938 .
...
git-svn-id: file:///svn/tokudb@4772 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-26 21:12:32 +00:00
Bradley C. Kuszmaul
8bfa4af9f9
Finally wrote a test for #938 . Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4740 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 22:15:09 +00:00
Bradley C. Kuszmaul
4b79a2237d
Try to write another test that tickles #938 . Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4739 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 21:53:36 +00:00
Bradley C. Kuszmaul
f45c98f91a
Try to write another test that tickles #938 .
...
git-svn-id: file:///svn/tokudb@4737 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 20:41:17 +00:00
Bradley C. Kuszmaul
d605072239
Create another version of the 944 test that passes. This really Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4735 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 20:31:45 +00:00
Bradley C. Kuszmaul
f68d16f45d
Make test944.c be an XFAIL. Addresses #944 .
...
git-svn-id: file:///svn/tokudb@4722 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 14:13:17 +00:00
Bradley C. Kuszmaul
ddd10bd785
Make sure the same thing works for nondup databases. Addresses #944 .
...
git-svn-id: file:///svn/tokudb@4721 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 14:11:36 +00:00
Bradley C. Kuszmaul
44aa4d3c37
Create test for #944 . Addresses #944 .
...
git-svn-id: file:///svn/tokudb@4720 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 14:04:52 +00:00
Rich Prohaska
4c98e604da
tweek the test. addresses #923
...
git-svn-id: file:///svn/tokudb@4718 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 12:20:14 +00:00
Rich Prohaska
f8c2f6bae5
cleanup. closes #923
...
git-svn-id: file:///svn/tokudb@4709 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-23 18:58:39 +00:00
Rich Prohaska
2ebdaf3eac
try some experiments. addresses #923
...
git-svn-id: file:///svn/tokudb@4708 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-23 18:46:48 +00:00
Rich Prohaska
1267822737
make the bin search midpoint numerically stable.
...
git-svn-id: file:///svn/tokudb@4705 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-23 14:45:54 +00:00
Zardosht Kasheff
651ef11978
addresses #938
...
fixed instance of retrieving a DBT that was a key instead of a val
git-svn-id: file:///svn/tokudb@4669 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-20 17:20:03 +00:00
Bradley C. Kuszmaul
5cddfeee5c
Get rid of {{{toku_keycompare}}} in favor of {{{brt->compare_fun}}} in {{{brt.c}}}. Fixes #9 .
...
git-svn-id: file:///svn/tokudb@4650 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-19 11:32:25 +00:00
Bradley C. Kuszmaul
93d2d2fcfa
Enable tail calls. Fixes #879 .
...
git-svn-id: file:///svn/tokudb@4645 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-19 01:46:41 +00:00
Rich Prohaska
89307e2945
init the val memory to fix a valgrind error. addresses #935
...
git-svn-id: file:///svn/tokudb@4641 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 23:53:05 +00:00
Bradley C. Kuszmaul
f714e3e873
Merge in the final hash shortcuts.
...
{{{
svn merge -r4633:4638 https://svn.tokutek.com/tokudb/tokudb.906
}}}
Addresses #906 .
git-svn-id: file:///svn/tokudb@4639 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 21:38:01 +00:00
Rich Prohaska
77f3953c85
test case for bug 935. addresses #935
...
git-svn-id: file:///svn/tokudb@4635 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 20:49:50 +00:00
Bradley C. Kuszmaul
01e53bc148
Quiet down the make. Addresses #13 .
...
git-svn-id: file:///svn/tokudb@4631 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 13:45:47 +00:00
Rich Prohaska
798e923370
merge some more seq insert code to main. addresses #896
...
git-svn-id: file:///svn/tokudb@4627 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 10:22:06 +00:00
Rich Prohaska
f4ec866165
merge some seq insert code to main. addresses #896
...
git-svn-id: file:///svn/tokudb@4626 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 10:02:06 +00:00
Rich Prohaska
9c6dd317ac
disable test_838 for now. addresses #923
...
git-svn-id: file:///svn/tokudb@4624 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 09:34:37 +00:00
Bradley C. Kuszmaul
6b685145d1
Merge {{{tokudb.906}}} into {{{tokudb}}}. Very few hash calls remain.
...
Did
{{{
svn merge -r4600:4610 https://svn.tokutek.com/tokudb/tokudb.906
}}}
and delete the 906 branch.
Fixes #906 .
git-svn-id: file:///svn/tokudb@4615 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 00:30:36 +00:00
Bradley C. Kuszmaul
4db5b5063c
Did
...
{{{
svn merge -r4556:4568 https://svn.tokutek.com/tokudb/tokudb.906
}}}
to incorporate the hash improvements.
Addresses #906 .
git-svn-id: file:///svn/tokudb@4596 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 17:05:19 +00:00
Vincenzo Liberatore
53161133c1
Addresses #923 Better printouts on verbose=1
...
git-svn-id: file:///svn/tokudb@4587 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 13:36:42 +00:00
Yoni Fogel
4b35c3f3ef
Addresses #918
...
Allocates room for at least 4 elements every time we convert from tree
to array (and vice versa).
git-svn-id: file:///svn/tokudb@4586 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 12:17:48 +00:00
Yoni Fogel
56861ecd78
addresses #918
...
Merged current progress into trunk
git-svn-id: file:///svn/tokudb@4581 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 04:29:17 +00:00
Yoni Fogel
131172d61e
Fix issue compiler was warning about in 4577
...
git-svn-id: file:///svn/tokudb@4580 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 04:28:33 +00:00
Rich Prohaska
b526f096a5
fix compiler warning
...
git-svn-id: file:///svn/tokudb@4577 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 00:49:03 +00:00
Yoni Fogel
1ce2303c6b
Addresses #918
...
Merge 'convert to array on rebalancing root' change
git-svn-id: file:///svn/tokudb@4576 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 00:01:35 +00:00
Yoni Fogel
88b08c3daf
Addresses #918
...
Merge initial version of array representation of omts into trunk
git-svn-id: file:///svn/tokudb@4574 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-16 23:50:45 +00:00
Rich Prohaska
d79133ce1f
bias the pivot search in favor of appends to the dictionary. addresses #896
...
git-svn-id: file:///svn/tokudb@4546 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-16 01:26:51 +00:00
Bradley C. Kuszmaul
34572ecb9e
Oops. Addresses #917 .
...
git-svn-id: file:///svn/tokudb@4545 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-15 20:49:15 +00:00
Bradley C. Kuszmaul
64b08678a1
Tigter code when not filling with zeros. Addresses #917 .
...
git-svn-id: file:///svn/tokudb@4544 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-15 20:44:11 +00:00
Bradley C. Kuszmaul
9ebb4b4080
Don't always fill with zeros. Fixes #917 . Gives some speedups on random.
...
git-svn-id: file:///svn/tokudb@4543 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-15 17:09:14 +00:00
Rich Prohaska
5c3b4003e8
strange return in BDB. addresses #838
...
git-svn-id: file:///svn/tokudb@4541 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-15 12:44:45 +00:00
Bradley C. Kuszmaul
10f21e7224
Did a {{{svn merge}}} for {{{tokudb.907}}} and deleted {{{tokudb.907}}}.
...
Fixes #907 .
git-svn-id: file:///svn/tokudb@4524 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-14 01:38:53 +00:00
Bradley C. Kuszmaul
802d83994b
test_838 now passes. Addresses #838
...
git-svn-id: file:///svn/tokudb@4521 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-13 18:27:22 +00:00
Rich Prohaska
f3eefae802
fix the nightly regressions. port the 838 test to BDB. addresses #838
...
git-svn-id: file:///svn/tokudb@4514 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-13 11:18:34 +00:00
Yoni Fogel
b4b9748da8
Addresses #912
...
Use ybt->size field if ybt->ulen field is unset (for DB_DBT_REALLOC).
git-svn-id: file:///svn/tokudb@4505 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-12 23:13:04 +00:00
Yoni Fogel
acf688ef2e
Closes #912
...
toku_db_set_* (the dbt setting functions)
no longer require atomicity for ENOMEM cases.
Also, in the case of realloc, we only alloc new memory if
the new size is larger than the old size, or the new size is less than
half of the old size.
Code has some simplifications due to lesser atomicity requirements.
Modified src/tests/test_db_dbt_mem_behavior.c to take into account
that DB_DBT_REALLOC now uses the ulen field.
git-svn-id: file:///svn/tokudb@4504 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-12 23:07:04 +00:00
Yoni Fogel
fe3cd46d32
Closes #914
...
git-svn-id: file:///svn/tokudb@4502 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-12 20:46:09 +00:00