Commit graph

4677 commits

Author SHA1 Message Date
Rich Prohaska
67ec4358cc #4869 #4753 fixup debug icc build refs[t:4869] refs[t:4753]
git-svn-id: file:///svn/toku/tokudb@43598 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Rich Prohaska
5eed9b3230 #4869 #4753 fixup debug icc build refs[t:4869] refs[t:4753]
git-svn-id: file:///svn/toku/tokudb@43597 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Rich Prohaska
90b9137fd3 #4869 #4753 turn pthread debug off refs[t:4753]
git-svn-id: file:///svn/toku/tokudb@43591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Rich Prohaska
6f8c78d19b #4869 #4753 simplify the pthreads api, remove dead code, remove untest error recovery patch, increase test coverage refs[t:4753]
git-svn-id: file:///svn/toku/tokudb@43590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Zardosht Kasheff
43eea285f7 [t:4889], move code for completing a txn to txn.c from rollback.c
git-svn-id: file:///svn/toku/tokudb@43587 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
132eb1cfc4 [t:4871] one more timeout increase
git-svn-id: file:///svn/toku/tokudb@43578 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
899cbfff3d [t:4871] increase timeouts for tests that still fail because of it
git-svn-id: file:///svn/toku/tokudb@43577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
9c85b70a8b [t:4804] change run.stress-tests.py to work with cmake, hopefully, but untested
git-svn-id: file:///svn/toku/tokudb@43568 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
4045e59eae [t:4871] make it so recover-stress and checkpoint-stress don't run the crash parts with valgrind, that takes way too long
git-svn-id: file:///svn/toku/tokudb@43562 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
2cadb6f530 [t:4871] increase timeout on drd stress tests for nightly tests
git-svn-id: file:///svn/toku/tokudb@43561 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
ac8a205101 [t:4871] fix parsing of memcheck logs in nightly test script
git-svn-id: file:///svn/toku/tokudb@43560 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
66cf1d3d6d [t:4871] change cdash site name to be user@host
git-svn-id: file:///svn/toku/tokudb@43559 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
7a958ca78d [t:4741] fix more tests that need to call toku_brtnode_pe_callback with a valid header
git-svn-id: file:///svn/toku/tokudb@43557 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
757a7ffb92 [t:4741] fixing tests that assume brtnodes have brt_header references
git-svn-id: file:///svn/toku/tokudb@43556 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
6419a8e4cf [t:4741] remove my_fake_header and my_header from orthopush-flush.c
git-svn-id: file:///svn/toku/tokudb@43555 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
d9639d75e0 [t:4741] finish removing brt_header reference from brtnode
git-svn-id: file:///svn/toku/tokudb@43554 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
e63ac31444 [t:4741] fix some tests zardosht broke ;-)
git-svn-id: file:///svn/toku/tokudb@43553 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
3e9b941cf1 [t:4887] move stats changing stuff to brt_header.h and make the loader update stats
git-svn-id: file:///svn/toku/tokudb@43551 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
d3b889e228 [t:4741] remove tabs, fix a little indentation
git-svn-id: file:///svn/toku/tokudb@43547 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
2888f3a7ab [t:4741] rename functions that apply cmds, to reference the objects they're dealing with (i.e. leaf->bn)
git-svn-id: file:///svn/toku/tokudb@43546 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Rich Prohaska
08b523509f #4869 add a test that forces rollinclude log entries to be used refs[t:4869]
git-svn-id: file:///svn/toku/tokudb@43545 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
f65aa1311b [t:4741], remove unnecessary parameters
git-svn-id: file:///svn/toku/tokudb@43544 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
093807f687 [t:4741], slight optimization
git-svn-id: file:///svn/toku/tokudb@43543 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
ecce75bef0 [t:4741], more simplifications
git-svn-id: file:///svn/toku/tokudb@43542 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Rich Prohaska
6f9fddc762 #4884 remove local txn checkpoint log entry closes[t:4884]
git-svn-id: file:///svn/toku/tokudb@43538 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Rich Prohaska
2483237c12 #4869 remove trace_mem since it is not used and it can easily be resurrected if needed refs[t:4869]
git-svn-id: file:///svn/toku/tokudb@43537 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Rich Prohaska
bc7a6ba9b5 #4869 remove trace_mem since it is not used and it can easily be resurrected if needed refs[t:4869]
git-svn-id: file:///svn/toku/tokudb@43536 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Rich Prohaska
6b0c64e3ac #4768 get test running on bdb again refs[t:4768]
git-svn-id: file:///svn/toku/tokudb@43534 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
b667c1b272 [t:4741], remove reference to node->h in garbage collection
git-svn-id: file:///svn/toku/tokudb@43533 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
c61cedcc73 [t:4741], fix toku_bnc_flush_to_child
git-svn-id: file:///svn/toku/tokudb@43532 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
f3c2d203c8 [t:4741], tweak algorithm for measureing in-memory stats
git-svn-id: file:///svn/toku/tokudb@43530 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Leif Walsh
53a989fcb6 [t:4871] move generated logging code into the binary directory
git-svn-id: file:///svn/toku/tokudb@43527 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
b9cbde28aa [t:4879], remove unneeded code
git-svn-id: file:///svn/toku/tokudb@43526 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
1ddb1b0939 [t:4875], move descriptor code to brt_header.c
git-svn-id: file:///svn/toku/tokudb@43525 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Leif Walsh
740bd8b7f5 [t:4871] fix log code dependencies
git-svn-id: file:///svn/toku/tokudb@43524 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Leif Walsh
5894b15cba [t:4871] add make clean to the nightly script
git-svn-id: file:///svn/toku/tokudb@43520 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Leif Walsh
53f9054648 [t:4871] make newbrt tests use temp files in the build directory, not the source directory
git-svn-id: file:///svn/toku/tokudb@43513 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Leif Walsh
d3aaa32b20 [t:4882] change compression type to be set before create
this means you have to set the compression type before calling db->open
and you can't change it after that

we also log it now

this bumps the version layout to BRT_LAYOUT_VERSION_20


git-svn-id: file:///svn/toku/tokudb@43511 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Zardosht Kasheff
b2449e6b7b [t:4875], fix tests due to change in calculating stats->fsize
git-svn-id: file:///svn/toku/tokudb@43508 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Zardosht Kasheff
f666ee0394 [t:4875], move brt_stat64 work to brt_header.c
git-svn-id: file:///svn/toku/tokudb@43499 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
fd11871393 [t:4241] use DBTs instead of kv_pairs. closes #4241
removes kv-pair.h completely. now childkeys are DBTs.

two new DBT functions help this. toku_clone_dbt memdup's the data.
toku_copyref_dbt steals the existing data and does not malloc.


git-svn-id: file:///svn/toku/tokudb@43495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Zardosht Kasheff
7db834d5c9 [t:4765], remove usage of txn OMTs from toku_brt_root_put_cmd
git-svn-id: file:///svn/toku/tokudb@43494 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
f84e764d96 [t:4871] run long tests on all builds on nightly tests
git-svn-id: file:///svn/toku/tokudb@43493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
6127e53606 [t:4871] don't run drd_test_4015 under memcheck
git-svn-id: file:///svn/toku/tokudb@43491 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
a4fdd8d636 [t:4871] fixing warning options
git-svn-id: file:///svn/toku/tokudb@43489 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Rich Prohaska
28eb6df387 #4869 remove dead code from fifo.c refs[t:4869]
git-svn-id: file:///svn/toku/tokudb@43488 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
c80afed609 [t:4871] increase test timeout for some valgrind tests
git-svn-id: file:///svn/toku/tokudb@43485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
d58b1a3331 [t:4871] really turn on -Werror, make things compile with it
git-svn-id: file:///svn/toku/tokudb@43473 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
b971313f9f [t:4871] don't use version-script on darwin, it's unsupported
git-svn-id: file:///svn/toku/tokudb@43472 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
0a6e7d3065 [t:4871] add <stdbool.h> to rwlock_condvar.h because it's needed on osx
git-svn-id: file:///svn/toku/tokudb@43468 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00