Yoni Fogel
3e9fcd103b
Addresses #1125 refs [t:1125] Add two tests for nested transactions at ydb layer.
...
Shuffled around some constants at the newbrt layer, extracted tokuconst.h
git-svn-id: file:///svn/toku/tokudb@13670 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:57 -04:00
Barry Perlman
5d86b767d2
Addresses #1866 refs [t:1866] Initial skeleton of nested transaction testing.
...
git-svn-id: file:///svn/toku/tokudb@13653 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:57 -04:00
Rich Prohaska
d6a352923a
update the ydb copyright. merge -c 13598 from 2.1.0 to main [t:1894]
...
git-svn-id: file:///svn/toku/tokudb@13628 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Yoni Fogel
a12ded1a45
Addresses #1866 Oldest living xid stored in logger instead of a global.
...
Cursors take a copy of oldest living xid upon creation, which they use for implicit promotion
git-svn-id: file:///svn/toku/tokudb@13606 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Yoni Fogel
681c5dd336
Addresses #1866 List of live transactions (in logger) is now an omt instead of a linked list.
...
refs [t:1866]
git-svn-id: file:///svn/toku/tokudb@13604 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
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
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
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
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
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
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
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
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
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
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
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
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
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
Bradley C. Kuszmaul
6df3b7e6db
Fixes #1775 (logformat execv error)
...
git-svn-id: file:///svn/toku/tokudb@12146 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Bradley C. Kuszmaul
6c211758b1
Merge 1767 into main line (including 1768 and 1627 fixes) and delete 1767 branch. Fixes #1767 . Refs #1768 , 1627.
...
git-svn-id: file:///svn/toku/tokudb@12140 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Barry Perlman
e191dd014e
Merged from 2.0.0 branch with command:
...
svn merge -r12118:HEAD ../../mysql.branches/2.0.0/tokudb/
git-svn-id: file:///svn/toku/tokudb@12124 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
845f7c37bb
Addresses #1765 , #1730 , #1733 , Merge 12079:12119 from 2.0.0 into main
...
git-svn-id: file:///svn/toku/tokudb@12121 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
049c7625a3
Addresses #1765 Merge [12079] into main (pthreads-win32 for windows)
...
git-svn-id: file:///svn/toku/tokudb@12081 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
935c8c5897
Addresses #1753 Windows port of test1753
...
git-svn-id: file:///svn/toku/tokudb@12080 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
6b717670e8
Addresses #1757 Merge fix 'checkpoints do not happen during abort/commit, use internal function' from 2.0.0 to main
...
git-svn-id: file:///svn/toku/tokudb@11988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
d4e09942d5
Addresses #1757 Merge fix 'checkpoints do not happen during abort/commit' from 2.0.0 to main
...
git-svn-id: file:///svn/toku/tokudb@11986 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Yoni Fogel
bc6e35bda3
Addresses #1756 Add test case that shows bug with r_h
...
git-svn-id: file:///svn/toku/tokudb@11961 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Bradley C. Kuszmaul
02d6a37e3b
Fixes #1753 .
...
git-svn-id: file:///svn/toku/tokudb@11914 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Bradley C. Kuszmaul
64874ce9bc
Remove printf of {{{set callback}}}. Fixes #1755 .
...
git-svn-id: file:///svn/toku/tokudb@11913 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Yoni Fogel
9d5dc15d11
Addresses #1531 Linux version of 1426 is more strict.
...
git-svn-id: file:///svn/toku/tokudb@11855 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Yoni Fogel
1a21f4cada
Addresses #1531 test1426 now passes in windows (uses saved results from bdb in linux)
...
git-svn-id: file:///svn/toku/tokudb@11854 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Yoni Fogel
f5aa78a479
Addresses #1531 Port test1426 to windows
...
Order of evaluation of parameters is not guaranteed in C. Now linux and windows will produce same output.
git-svn-id: file:///svn/toku/tokudb@11853 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Yoni Fogel
ef3669a740
Addresses #1531 Update windows ydb level tests expected behavior
...
git-svn-id: file:///svn/toku/tokudb@11827 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Yoni Fogel
7f1d3808cc
Addresses #1531 Support XFAILS in src/tests/*.bdbrun. Set some windows bdb tests as XFAILS, some as hang (don't run)
...
git-svn-id: file:///svn/toku/tokudb@11755 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Yoni Fogel
cf6380c538
Addresses #1531 [11749] fixed some XFAILS in src/test (for windows). Marking those tests as expected to pass instead of expected to fail
...
Needed to point to the right binaries as well.
git-svn-id: file:///svn/toku/tokudb@11754 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Yoni Fogel
5dc6dd40b0
Addresses #1531 Set temporary XFAILs for windows, modify man/texi/Makefile to avoid hang in cygwin (skip making dvi)
...
Remove warning about unused variables (attribute is ignored)
git-svn-id: file:///svn/toku/tokudb@11739 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Rich Prohaska
c21fa48316
merge more of 1735 to main. addresses #1735
...
git-svn-id: file:///svn/toku/tokudb@11732 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00