Barry Perlman
db00df2c42
[t:2499] Added preliminary ENOSPC testing.
...
git-svn-id: file:///svn/toku/tokudb@19780 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Barry Perlman
69ca56d9ba
[t:2449] Fix USE_PUTS
...
git-svn-id: file:///svn/toku/tokudb@19775 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Barry Perlman
b20c6e3b1a
Added support for loader flag LOADER_USE_PUTS. Still need to add tests for enospc and crash/recovery.
...
git-svn-id: file:///svn/toku/tokudb@19766 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Barry Perlman
10ebf5d10d
Made more real, still need to test enospc and crash recovery.
...
git-svn-id: file:///svn/toku/tokudb@19761 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Barry Perlman
dcbc58477f
Added preliminary version of loader-cleanup-test.
...
git-svn-id: file:///svn/toku/tokudb@19691 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Yoni Fogel
1d34be10e4
closes[t:2542] Add test for loader (both PUT and fast) that verifies no logging
...
happens for each logger->put()
git-svn-id: file:///svn/toku/tokudb@19684 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Yoni Fogel
cdda1ce0db
[t:2542] Modify all loader tests to support -p (USE_PUTS) and logging
...
All now support the behavior of the put loader
git-svn-id: file:///svn/toku/tokudb@19683 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Yoni Fogel
eadaf07bd8
[t:2542] Fix some bugs in the PUT loader.
...
Put, once it has returned one error, will continue to return errors (-1)
git-svn-id: file:///svn/toku/tokudb@19682 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Yoni Fogel
a652e5ed72
Revert "move changes to loader.c and its tests to main re:DB_DBT_REALLOC"
...
This reverts commit 86f5bc832a3ebe5dc8ecb2105491a903e7dc4700.
This reverts commit r19651
git-svn-id: file:///svn/toku/tokudb@19681 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Dave Wells
4591931950
move changes to loader.c and its tests to main re:DB_DBT_REALLOC
...
git-svn-id: file:///svn/toku/tokudb@19651 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:08 -04:00
Yoni Fogel
5c2f6b60fa
[t:2555] LOADER_USE_PUTS follows convention of generate_row_for_put
...
Prevents freeing of memory not owned by loader.
git-svn-id: file:///svn/toku/tokudb@19633 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
f935786f79
[t:2494] Merge remaining changes (minor optimizations) to main from read committed branch
...
git-svn-id: file:///svn/toku/tokudb@19628 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
e42cd82ae4
closes[t:2530] Windows port of (non-fork()) diskfull test
...
git-svn-id: file:///svn/toku/tokudb@19623 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
ae278c1013
[t:2530] Use Makefile and arguments to remove fork() from diskfull.tdbrun
...
git-svn-id: file:///svn/toku/tokudb@19622 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
ef89d27bbb
[t:2542] Prevent extra file and fsync during non-put loader
...
git-svn-id: file:///svn/toku/tokudb@19618 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
7c6dab0b79
gitignore
...
git-svn-id: file:///svn/toku/tokudb@19593 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
67fa6c4c0c
[t:2542] cleaner way of holding ydb lock around pre_acquire_table_lock
...
git-svn-id: file:///svn/toku/tokudb@19587 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
a188bda42e
closes[t:2542] Fix bug in loader: need to hold ydb lock around pre_acquire_table lock
...
Let LOADER_USE_PUTS trigger #2440 optimization. DB_PRELOCKED_WRITE in loader flags prevents pre_acquire_table_lock from being called
git-svn-id: file:///svn/toku/tokudb@19586 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
0b550d3907
makefile improvements for src/tests
...
git-svn-id: file:///svn/toku/tokudb@19584 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
4fd875030a
makefile improvements for src/tests
...
git-svn-id: file:///svn/toku/tokudb@19583 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
7979395fba
[t:2539] Modified makefiles to behave for gcc 4.4.1.
...
Fixed code to remove warnings (checked result of 'system()' and printf warnings)
git-svn-id: file:///svn/toku/tokudb@19560 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
85192a46d0
[t:2350] Disable txn_nested5 test for bdb
...
git-svn-id: file:///svn/toku/tokudb@19488 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
21d2578b25
closes[t:2350] Add ydb-layer insert ignore test
...
closes[t:2350] Add comments
git-svn-id: file:///svn/toku/tokudb@19466 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
8c34dda452
closes[t:2440] Merge #2440 to main.
...
closes[t:2512] merge #2512 to main
Delete dev branch
git-svn-id: file:///svn/toku/tokudb@19439 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Rich Prohaska
02f3b82718
rename toku_test_db_redirect closes[t:2519]
...
git-svn-id: file:///svn/toku/tokudb@19425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
0ea12bb45b
[t:2517] Disable dynamic library for windows
...
git-svn-id: file:///svn/toku/tokudb@19289 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
7b2cc84ac9
closes[t:2515] Accurately distinguish between 32bit and 64bit windows
...
git-svn-id: file:///svn/toku/tokudb@19288 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Barry Perlman
1961aa0696
[t:2504] Restored function toku_ltm_get_max_locks() needed by tests.
...
git-svn-id: file:///svn/toku/tokudb@19282 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Barry Perlman
c4ca0a7256
[t:2504] Added range lock escalation success/failure counts to engine status.
...
git-svn-id: file:///svn/toku/tokudb@19267 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
65f91e8663
Windows port minor changes
...
git-svn-id: file:///svn/toku/tokudb@19227 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
1bf7a7a403
closes[t:2449] [t:2484] Merge #2449 changes to main.
...
Rollback logs are now checkpointed. There are no rolltmp files.
git-svn-id: file:///svn/toku/tokudb@19167 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
bf8e181e9e
refs[t:2483] dont run recover-2483 with BDB
...
git-svn-id: file:///svn/toku/tokudb@19165 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
1c3241f9dc
closes[t:2505] Clean up makefiles. Remove support for old versions of valgrind (older than ~3.5)
...
git-svn-id: file:///svn/toku/tokudb@19137 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
667e46d60c
closes[t:2483] Fix recovery bug in loader.
...
checkpoint_lsn written to headers made by loader are now the fsynced 'load' log entry's lsn instead of MAX_UINT64
git-svn-id: file:///svn/toku/tokudb@19136 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
56f23bc1ea
[t:2483] Upgrade 2483 test to use loader
...
git-svn-id: file:///svn/toku/tokudb@19135 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
c9d3ca5806
[t:2483] Add test for 2483.. currently fails in valgrind
...
git-svn-id: file:///svn/toku/tokudb@19133 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
b258f3744d
fix tests broken by new inames refs[t:2502]
...
git-svn-id: file:///svn/toku/tokudb@19113 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
5a37ca9fcd
closes[t:2502] Implement rot13 on the hint for inames
...
git-svn-id: file:///svn/toku/tokudb@19100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Zardosht Kasheff
a9f3970f41
[t:2494], add test to BDB_DONTRUN_SOMETHING
...
git-svn-id: file:///svn/toku/tokudb@19092 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Zardosht Kasheff
6bd25a4317
[t:2494], fix some leaks in the test
...
git-svn-id: file:///svn/toku/tokudb@19089 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Zardosht Kasheff
db6f126b7a
[t:2494], fix some leaks in the test
...
git-svn-id: file:///svn/toku/tokudb@19088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Zardosht Kasheff
a87006b10c
[t:2494], merge read committed to main
...
git-svn-id: file:///svn/toku/tokudb@19073 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Dave Wells
c875e4def6
remove LOADER_USE_REFERENCE_MODEL directives
...
git-svn-id: file:///svn/toku/tokudb@18914 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Dave Wells
2b6e50405d
ydb test for #2487 [t:2487]
...
git-svn-id: file:///svn/toku/tokudb@18890 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Barry Perlman
13c324ed06
Merge from 3.1.0 using following commands:
...
> svn merge --accept=postpone -r18405:HEAD https://svn.tokutek.com/tokudb/mysql.branches/3.0.5/tokudb
> svn merge --accept=postpone -r18484:HEAD https://svn.tokutek.com/tokudb/mysql.branches/3.1.0/tokudb
> svn merge --accept=postpone -c18403 https://svn.tokutek.com/tokudb/mysql.branches/3.0.5/tokudb
> all executed inside directory tokudb/toku/tokudb
git-svn-id: file:///svn/toku/tokudb@18877 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Rich Prohaska
5500a39946
merge 3.0.5 -c 18481 to main refs[t:2467]
...
git-svn-id: file:///svn/toku/tokudb@18871 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Dave Wells
5a67201fd8
cleanup up toku_loader_close error handling
...
git-svn-id: file:///svn/toku/tokudb@18806 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Dave Wells
c9e32bbe03
add toku_brt_loader_abort, fix up error handling in toku_loader_*
...
git-svn-id: file:///svn/toku/tokudb@18804 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Bradley C. Kuszmaul
3919e85519
Merge the finer-grained progress report for the loader. Refs #2462 . [t:2462]
...
{{{
svn merge -r 18775:18791 https://svn.tokutek.com/tokudb/toku/tokudb.2462
}}}
.
git-svn-id: file:///svn/toku/tokudb@18792 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Bradley C. Kuszmaul
eb9ad2a896
Merge in the 2462 branch that has a rudimentary implementation of polling. Refs #2462 . [t:2462]
...
{{{
svn merge -c 18768 https://svn.tokutek.com/tokudb/toku/tokudb.2462
}}}
.
git-svn-id: file:///svn/toku/tokudb@18771 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:03 -04:00