Rich Prohaska
40767a8701
tests for when env is closed with open txn's or db's [t:1962]
...
git-svn-id: file:///svn/toku/tokudb@14670 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Dave Wells
3e3ffc2284
version that works for TDB and BDB - ticket 2030
...
git-svn-id: file:///svn/toku/tokudb@14668 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Dave Wells
e201307986
fix test_archive1 to account for checkpoint functionality that deletes unneeded log files close[t:2030]
...
git-svn-id: file:///svn/toku/tokudb@14648 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Rich Prohaska
4105fa5e22
port the lsn filter test to windows [t:1864]
...
git-svn-id: file:///svn/toku/tokudb@14644 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Rich Prohaska
274ff6f55a
port lsn-filter test to windows [t:1864]
...
git-svn-id: file:///svn/toku/tokudb@14643 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Rich Prohaska
de32b9dc3a
remove linux only code from some recover tests [t:1864]
...
git-svn-id: file:///svn/toku/tokudb@14639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Dave Wells
3106fcce80
Fix recover-missing-logfiles test. In the process, define DB_CLOSE_DONT_TRIM_LOG flag for db_close. Also, remove some old, unused code
...
git-svn-id: file:///svn/toku/tokudb@14631 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Rich Prohaska
191d616ee8
add another test case for nested txn recovery [t:1960]
...
git-svn-id: file:///svn/toku/tokudb@14557 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Rich Prohaska
c8d8c5c907
valgrind 3.5.0 found some mem leaks in the tests [t:2001]
...
git-svn-id: file:///svn/toku/tokudb@14556 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Rich Prohaska
9d4f1ee78e
fix some recovery tests close[t:2005] close[t:2010]
...
git-svn-id: file:///svn/toku/tokudb@14546 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:02 -04:00
Barry Perlman
39a61f0312
Decruftify by removing redundant line of code.
...
git-svn-id: file:///svn/toku/tokudb@14526 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Dave Wells
5ed2e4dc34
fix logfile trimming code, change ydb.c to exclusively use toku_checkpoint
...
git-svn-id: file:///svn/toku/tokudb@14522 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Rich Prohaska
9c4739e8fd
call toku_checkpoint when the env closes [t:2001]
...
git-svn-id: file:///svn/toku/tokudb@14515 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Rich Prohaska
0b920d5f6c
require an env to create a db [t:2001]
...
git-svn-id: file:///svn/toku/tokudb@14513 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Rich Prohaska
0d06616161
capture the recover-staddle-txn.c test [t:2005]
...
git-svn-id: file:///svn/toku/tokudb@14485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Rich Prohaska
e71ae871bd
build bins and tests as separate things [t:1864]
...
git-svn-id: file:///svn/toku/tokudb@14482 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Rich Prohaska
f424149c77
add Makefile rules for running recoveyr tests [t:1864]
...
git-svn-id: file:///svn/toku/tokudb@14460 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Rich Prohaska
8e214a919d
filter some operations during recovery close[t:1993]
...
git-svn-id: file:///svn/toku/tokudb@14421 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Rich Prohaska
f330c83ebc
add db_env_set_checkpoint_callback2 to the known lists of globals close[t:1996]
...
git-svn-id: file:///svn/toku/tokudb@14415 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:01 -04:00
Barry Perlman
0860425ef6
Addresses #1987 refs[t:1987] API and implementation of broadcast commit (all xids) message.
...
Cleaned up BRT_CMD vs BRT_MSG, removed logger from query path.
git-svn-id: file:///svn/toku/tokudb@14376 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
aa5f3c850e
fix a couple of set_data_dir bugs [t:1985]
...
git-svn-id: file:///svn/toku/tokudb@14375 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Barry Perlman
bc4e024d50
Addresses #1993 refs[t:1993] Added test of second callback to checkpoint.
...
git-svn-id: file:///svn/toku/tokudb@14370 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Barry Perlman
554596ce59
Addresses #1993 refs[t:1993] Added second callback to checkpoint.
...
git-svn-id: file:///svn/toku/tokudb@14369 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
f44c71dbdb
test case described by barry and yoni that requires LSN filtering during recovery [t:1993]
...
git-svn-id: file:///svn/toku/tokudb@14356 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
57ddbdd9f3
some changes related to recovery and the log. close[t:1959]
...
git-svn-id: file:///svn/toku/tokudb@14328 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
c6c07a4ade
require at least 1 log entry during recovery [t:1959]
...
git-svn-id: file:///svn/toku/tokudb@14315 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
94a5f224dd
test missing log entries [t:1959]
...
git-svn-id: file:///svn/toku/tokudb@14313 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Yoni Fogel
001bc6f4c3
Addresses #1976 refs[t:1976] Add warnings for code hygiene that windows compiler requires.
...
Cleaned up code to remove warnings.
git-svn-id: file:///svn/toku/tokudb@14306 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
5f4d2156f3
rename x1.c to recover-x1.c etc [t:1964]
...
git-svn-id: file:///svn/toku/tokudb@14285 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
6c5a3ebfa7
merge 1964 to main [t:1964]
...
git-svn-id: file:///svn/toku/tokudb@14284 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
125a343010
turn down the valgrind noise for some recovery tests [t:1844]
...
git-svn-id: file:///svn/toku/tokudb@14237 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Rich Prohaska
3e75522377
dont run the log recover tests with valgrind since the env is deliberately not closed [t:1844]
...
git-svn-id: file:///svn/toku/tokudb@14229 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Rich Prohaska
1a7354b892
merge recovery key compare function to main. close[t:1966]
...
git-svn-id: file:///svn/toku/tokudb@14218 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Bradley C. Kuszmaul
ca1ed58974
The good stuff from #1884 up to changeset:14213. Refs #1884 . [t:1884].
...
* Block allocation is now first-fit.
* There is a better test for the block allocator.
* brt_stat64 returns data in a struct instead of a bunch of arguments.
* Nodes are set clean after serialization.
git-svn-id: file:///svn/toku/tokudb@14214 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Rich Prohaska
965cfcea0f
tests log8, log9, and log10 are XFAIL for now [t:1844]
...
git-svn-id: file:///svn/toku/tokudb@14183 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Rich Prohaska
8e2d40b9b0
merge tokudb.1844 to main close[t:1844]
...
git-svn-id: file:///svn/toku/tokudb@14180 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Yoni Fogel
316b9c96ed
Addresses #1112 refs[t:1112] Implement 'flatten' function at brt layer
...
git-svn-id: file:///svn/toku/tokudb@14168 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Rich Prohaska
f44c0b8ae6
merge tokudb.1960.recovery to main close[t:1950]
...
git-svn-id: file:///svn/toku/tokudb@14160 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Rich Prohaska
2cda63bc01
merge -c 14118 tokudb.1960 to main [t:1960]
...
git-svn-id: file:///svn/toku/tokudb@14119 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Rich Prohaska
d6e7363852
x2 is expected to work [t:1823]
...
git-svn-id: file:///svn/toku/tokudb@14117 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Rich Prohaska
3ab3cbbfcc
some progress on recovery close[t:1835]
...
git-svn-id: file:///svn/toku/tokudb@14112 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Yoni Fogel
2e9838edcb
Addresses #1956 refs[t:1956] Add two more tests for the range_reverse queries
...
git-svn-id: file:///svn/toku/tokudb@14090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Yoni Fogel
d2cae8914e
Addresses #1956 refs[t:1956] Add c_getf_set_range_reverse, c_getf_get_both_range_reverse, (and c_get versions)
...
Equivalent to non-reverse but just changes the search direction
git-svn-id: file:///svn/toku/tokudb@14086 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Yoni Fogel
80e1406125
Addresses #1924 refs[t:1924] Upgrade (10->11) test added.
...
We have a saved version 10 db that has 1 of each type of leafentry, and 1 of each (interesting) type of message
We have an LE_COMMITTED,
and XID=0 and XID!=0 versions of: LE_PROVPAIR, LE_PROVDEL, LE_BOTH
For messages, the loading logic doesn't care about the type at all.
The upgrade logic cares only whether XID is 0, so we have one with 0, one with non 0.
git-svn-id: file:///svn/toku/tokudb@13974 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:58 -04:00
Yoni Fogel
aec9db6607
Addresses #1931 refs[t:1931] libtokudb.pdb is moved to lib/
...
git-svn-id: file:///svn/toku/tokudb@13874 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:58 -04:00
Yoni Fogel
9f8047a8fb
Addresses #1927 closes[t:1927] Make db->getf_set and db->getf_get_both externally visible
...
git-svn-id: file:///svn/toku/tokudb@13851 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:58 -04:00
Yoni Fogel
a6837f9e53
Addresses #1125 [t:1125] Modified test4 to be more comprehensive, reduced iterations to 64 to reduce load on nightly testing
...
git-svn-id: file:///svn/toku/tokudb@13813 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:58 -04:00
Yoni Fogel
b75dac6a09
Addresses #1922 closes [t:1922] Fix 'no tokuconst.h' error in test compilation.
...
test_txn_nested{1-4} are not intended for bdb
git-svn-id: file:///svn/toku/tokudb@13806 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:57 -04:00
Yoni Fogel
e352bb6e4a
Closes #1125 closes [t:1125] Add final ydb-level test for new leafentries
...
git-svn-id: file:///svn/toku/tokudb@13796 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:57 -04:00
Yoni Fogel
cc9b64937d
Addresses #1125 [t:1125] Add nested transaction test
...
git-svn-id: file:///svn/toku/tokudb@13792 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:57 -04:00