Rich Prohaska
d5a17e2ef9
make clean [t:1904]
...
git-svn-id: file:///svn/toku/tokudb@13640 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Rich Prohaska
4d01238ca3
some edits [t:1904]
...
git-svn-id: file:///svn/toku/tokudb@13639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Rich Prohaska
901abdf38c
first draft of the fractal tree release README file [t:1902]
...
git-svn-id: file:///svn/toku/tokudb@13638 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Bradley C. Kuszmaul
57940a6cca
db-insert compiles (from db-benchmark-test). [t:1904]
...
git-svn-id: file:///svn/toku/tokudb@13637 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Bradley C. Kuszmaul
9354698cde
Start working on examples. [t:1904]
...
git-svn-id: file:///svn/toku/tokudb@13636 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Rich Prohaska
173100fb83
the fractal tree release files. [t:1904]
...
git-svn-id: file:///svn/toku/tokudb@13635 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -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
24fb3dc5af
Addresses #1866 refs [t:1866] Set node dirty after doing implicit promotion on query.
...
git-svn-id: file:///svn/toku/tokudb@13626 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Yoni Fogel
1563110816
Addresses #1866 refs [t:1866] Default oldest living txnid is now TXNID_NONE_LIVING (0)
...
Fix bug where assert was hit when transactions are off.
Cleaned up some code.
git-svn-id: file:///svn/toku/tokudb@13625 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
13aa2ed352
Addresses #1866 Implement implicit promotion on query (for slow and shortcut versions)
...
refs [t:1866]
git-svn-id: file:///svn/toku/tokudb@13560 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Yoni Fogel
3647773864
Addresses #1125 modify leafentry test, removed obsolete case, added comments
...
git-svn-id: file:///svn/toku/tokudb@13544 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Yoni Fogel
ab3ca24e9d
Addresses #1125 Fix a couple of off-by-one errors with xids (max level of nested transactions)
...
Added tests that check all message types/changes you can do to a non-existant leafentry
Added tests that check all message types/changes you can do to a committed (insert) leafentry
git-svn-id: file:///svn/toku/tokudb@13529 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Rich Prohaska
56f5982727
merge tokudb.1856 to main. closes #1856
...
git-svn-id: file:///svn/toku/tokudb@13525 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
Dave Wells
e57b5d0110
merge second round of changes to support logcursors into main, refs[t:1857]
...
git-svn-id: file:///svn/toku/tokudb@13515 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
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