Commit graph

2539 commits

Author SHA1 Message Date
Yoni Fogel
2ef08187e7 Addresses #1868 Delete unnecessary assert
Done to main and 2.1.0
refs [t:1868]

git-svn-id: file:///svn/toku/tokudb@13485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Yoni Fogel
110754f57c Addresses #1125 Merged nested transactions from temporary merge branch into main.
Current tests fail (not regressions, they fail as of 13461)
 * {{{x1.tdbrun}}}
 * {{{test_log(2,3,4,5,6,7,8,9,10).recover}}}
 * {{{test-recover(1,2,3).tdbrun}}}
 * {{{test1324.tdbrun}}}
ULE_DEBUG disabled (defined to 0)  Can be re-enabled for test purposes (set to 1).
refs [t:1125]
Merging into the temp branch (tokudb.main_13461+1125)
{{{svn merge --accept=postpone -r 12527:13461 ../tokudb.1125 ./}}}

Merging into main
{{{svn merge --accept=postpone -r13462:13463 ../tokudb.main_13461+1125/ ./}}}


git-svn-id: file:///svn/toku/tokudb@13464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Rich Prohaska
363e371758 merge the enqrootentry and shutdown log entry changes to main. addresses #1847
git-svn-id: file:///svn/toku/tokudb@13453 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Dave Wells
ae97a6dae5 remove failing test
git-svn-id: file:///svn/toku/tokudb@13433 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Dave Wells
d6e96be1f0 MERGE tokudb/toku/tokudb/1857 into main, refs [t:1857]
git-svn-id: file:///svn/toku/tokudb@13431 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Yoni Fogel
a102472122 Addresses #1849 If a child prelocks a table (and gains the magic 'no rolltmp needed' flag),
it can pass it to its parent when it commits.

git-svn-id: file:///svn/toku/tokudb@13338 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Yoni Fogel
2e7835e6b5 Closes #1868 A parent can prelock a table, and then the child, or vice versa without crashing.
This does not add any performance optimizations

git-svn-id: file:///svn/toku/tokudb@13337 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Yoni Fogel
bf03fe85e1 Addresses #1842 Port test1842 to windows
git-svn-id: file:///svn/toku/tokudb@13299 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Yoni Fogel
be608a5f70 Fix windows build.
git-svn-id: file:///svn/toku/tokudb@13298 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Rich Prohaska
d9b5e99a08 add the timestamp log entry. addresses #1855
git-svn-id: file:///svn/toku/tokudb@13284 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
Rich Prohaska
73e060e3bc merge tokudb.1856 13208:HEAD to main. addresses #1856
git-svn-id: file:///svn/toku/tokudb@13278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:55 -04:00
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