Dave Wells
68df634693
MERGE tokudb.logchanges2 13168:13253 into main
...
git-svn-id: file:///svn/toku/tokudb@13261 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Yoni Fogel
080eb82a0f
Addresses #1832 Add DB_TRUNCATE_WITHCURSORS flag to db->truncate. Will allow truncate while cursors open.
...
git-svn-id: file:///svn/toku/tokudb@13255 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Zardosht Kasheff
37992fd62e
address build, get compiling on windows thanks to Yoni
...
git-svn-id: file:///svn/toku/tokudb@13196 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Bradley C. Kuszmaul
719786c001
Fixes #1848 (add parent txn to xstillopen).
...
git-svn-id: file:///svn/toku/tokudb@13131 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Bradley C. Kuszmaul
43b8c94f9c
Fixes #1846 .
...
git-svn-id: file:///svn/toku/tokudb@13130 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Rich Prohaska
748b061350
test recovery after a crash with open databases. closes #1845
...
git-svn-id: file:///svn/toku/tokudb@13127 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Yoni Fogel
88005e7e1f
Closes #1842 Add test that crashes prior to fixing any_val_le_both in [13076]
...
git-svn-id: file:///svn/toku/tokudb@13100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Rich Prohaska
289551902f
1st cut at verifying the lsn sequence. addresses #1837
...
git-svn-id: file:///svn/toku/tokudb@13093 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Yoni Fogel
4bfd18986e
Addresses #1842 Fix warnings
...
git-svn-id: file:///svn/toku/tokudb@13077 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Yoni Fogel
53a12b9706
Addresses #1842 Fix le_any_val (LE_BOTH) to return the provisional value.
...
git-svn-id: file:///svn/toku/tokudb@13076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Dave Wells
18449171a7
better checks
...
git-svn-id: file:///svn/toku/tokudb@13025 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Rich Prohaska
4257a6fd51
add --explicit-abort to the x1 test. addresses #1838
...
git-svn-id: file:///svn/toku/tokudb@13024 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Dave Wells
1072053a24
typo in args list
...
git-svn-id: file:///svn/toku/tokudb@13013 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Rich Prohaska
90e210cd94
merge tokudb.1828 -r 12939:HEAD to main. closes #1828
...
git-svn-id: file:///svn/toku/tokudb@13006 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Dave Wells
2b8e01d962
add key-value checks, extraneous entry checks
...
git-svn-id: file:///svn/toku/tokudb@12998 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Rich Prohaska
99b0d32183
add unique_checks option to db-benchmark-test to show the excessive splitting and merging bug. addresses #1828
...
git-svn-id: file:///svn/toku/tokudb@12938 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Rich Prohaska
7ba09091c4
make the interactive help better
...
git-svn-id: file:///svn/toku/tokudb@12921 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
59c5ea00e0
Merge 1781 back to main line. Closes #1781 (since #1781 involves creating a test.) There is a bug exposed by the x2.tdb test, but actually making the x2 test run right is a separate issue (Refs #1823 ).
...
{{{
svn merge -r 12282:12548 https://svn.tokutek.com/tokudb/toku/tokudb.1781
}}}
git-svn-id: file:///svn/toku/tokudb@12860 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
20f10185a9
x2 is a better test than x1. x1 passes on tokudb, but x2 fails. Refs #1781 .
...
git-svn-id: file:///svn/toku/tokudb@12844 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
d7d0e89240
Merge is not implicated.
...
I thought that the merge was implicated for making nodes too big, but now I'm convinced it's not.
When the brt tries to merge two nodes (maybe_merge_pinned_leaf_nodes) it has two cases
1) The nodes combined are more than 3/4 a node, in which case it balances the nodes.
2) Otherwise it merges them. Hence merged nodes are always smaller than a node.
So I'm considering #1802 and #1811 to be fully resolved.
Refs #1802 . Closes #1811
git-svn-id: file:///svn/toku/tokudb@12836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
7fdfb60a3e
merge tokudb.1802 rev 12722:HEAD tokudb. addresses #1802
...
git-svn-id: file:///svn/toku/tokudb@12779 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
03d402adf1
Cleanup. Recreate the travelgid/kayak assertion failure. Refs #1802 .
...
git-svn-id: file:///svn/toku/tokudb@12762 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
49ebe83194
Recreate the travelgid/kayak assertion failure.
...
git-svn-id: file:///svn/toku/tokudb@12761 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
5e5a473306
inflate2 gets a node size of 15641
...
git-svn-id: file:///svn/toku/tokudb@12760 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
20e019e6c0
Get it to work on BDB and TDB. Refs #1802 .
...
git-svn-id: file:///svn/toku/tokudb@12759 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
2a8619061d
Got a node up to 9143 bytes. Refs #1802 .
...
git-svn-id: file:///svn/toku/tokudb@12758 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Bradley C. Kuszmaul
ce38432785
A test that can grow a node bigger than a nodesize (only a little bit). Refs #1802 .
...
git-svn-id: file:///svn/toku/tokudb@12757 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
a255cd1672
build with icc on linux
...
git-svn-id: file:///svn/toku/tokudb@12742 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
d9e71a1691
throw a better error message for row size errors. addresses #1766
...
git-svn-id: file:///svn/toku/tokudb@12659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
30d18a7eaa
solaris port. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12606 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
e5fb3970bb
merge 1766b to main. addresses #1766
...
git-svn-id: file:///svn/toku/tokudb@12577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
4528364f7b
simplify. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12573 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
81f649eb9b
solaris port. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12570 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
1ea7ce00b4
abstract stdint.h for solaris. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12569 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
848a96a64c
solaris port. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12535 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
bb2ba73091
portability. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12523 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
08c95da46d
imp lock/unlock file on solaris. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12510 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
b65b62a932
freebsd port. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Yoni Fogel
3a734d77b8
Addresses #1794 Merge [12505] from 2.0.1 to main and 2.0.0
...
Note: [12502], [12503] also address #1794
git-svn-id: file:///svn/toku/tokudb@12506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Yoni Fogel
ad3f097111
Merged [12502] (db benchmark runbenchmarks.sh features moved into makefile) from 2.0.1 to 2.0.0 and main
...
git-svn-id: file:///svn/toku/tokudb@12503 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:54 -04:00
Rich Prohaska
aab009a25a
build on freebsd with gcc 4.3.4. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12483 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
173695c194
Closes #1790 Merge changes from 2.0.1 into main
...
svn merge --accept=postpone -r 12461:12467 ../../mysql.branches/2.0.1/tokudb/
git-svn-id: file:///svn/toku/tokudb@12468 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Rich Prohaska
bedeef9336
build our handlerton on freebsd. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12466 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
daa05c3f29
Closes #1790 Merge from 2.0.1 into main. Also add tests to freebsd.
...
svn merge --accept=postpone -r 12459:12461 ../../mysql.branches/2.0.1/tokudb/
git-svn-id: file:///svn/toku/tokudb@12462 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Rich Prohaska
3ea335abdb
freebsd port. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12444 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Rich Prohaska
510286c76f
freebsd portability lib. addresses #1789
...
git-svn-id: file:///svn/toku/tokudb@12442 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
a80e780477
Fix windows build (removed some unneeded/useless warnings), svn ignore
...
git-svn-id: file:///svn/toku/tokudb@12412 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
bc9fd74c80
Merge 2.0.0 back into main
...
svn merge --accept=postpone -r 12123:12373 ../../mysql.branches/2.0.0/tokudb/
git-svn-id: file:///svn/toku/tokudb@12375 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
d3a3ad5f3b
Make clean gets rid of TAGS (obsolete TAGS files in other directories can override)
...
git-svn-id: file:///svn/toku/tokudb@12374 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Bradley C. Kuszmaul
84432d75f8
Merge tokudb.1779 onto mainline. Fixes #1779 .
...
git-svn-id: file:///svn/toku/tokudb@12281 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00