Commit graph

2175 commits

Author SHA1 Message Date
Yoni Fogel
de774f7a27 [t:5027] Added a generic parser/helper for options (cleaned up significantly)
git-svn-id: file:///svn/toku/tokudb@44374 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Yoni Fogel
2b8d2634e5 [t:5027] Made cli_args accessible through args. Removed redundant variables.
git-svn-id: file:///svn/toku/tokudb@44373 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Yoni Fogel
5574a100f2 [t:5027] Fix compilation error
git-svn-id: file:///svn/toku/tokudb@44368 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Yoni Fogel
638755867e [t:5040] closes #5040 Add drd suppression code for performance counters in test
git-svn-id: file:///svn/toku/tokudb@44361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Zardosht Kasheff
f57b8ae11a [t:5038], fix some bugs in transactions after code review
git-svn-id: file:///svn/toku/tokudb@44352 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Leif Walsh
97d2d07b9c [t:5027] added commas to big numbers! yay!
git-svn-id: file:///svn/toku/tokudb@44350 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Leif Walsh
306ec88b5f [t:5027] some temporary work on better benchmarking, not complete but
zardosht needs to start using it before the machines go down


git-svn-id: file:///svn/toku/tokudb@44349 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Zardosht Kasheff
6724c317c7 [t:5029], revert fix, solution does not work
git-svn-id: file:///svn/toku/tokudb@44346 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Zardosht Kasheff
a84d1289a2 [t:4876], some comments
git-svn-id: file:///svn/toku/tokudb@44340 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Leif Walsh
b4aafa65f4 [t:5027] working on output formatting for perf tests. probably way
over-engineering it but it looks cool so far


git-svn-id: file:///svn/toku/tokudb@44337 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Leif Walsh
f941a12b88 [t:5027] some work on making threaded_stress_test_helpers better for benchmarking
also created perf_insert.tdb


git-svn-id: file:///svn/toku/tokudb@44332 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Zardosht Kasheff
decb4dd980 [t:5031], add test
git-svn-id: file:///svn/toku/tokudb@44329 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Zardosht Kasheff
7faf5d4825 [t:5029], make fix
git-svn-id: file:///svn/toku/tokudb@44327 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Yoni Fogel
b6b8dd84c4 [t:4905] closes #4905 Merge 4905b branch to main (removes pwrite lock)
git-svn-id: file:///svn/toku/tokudb@44315 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00
Zardosht Kasheff
11e5cb829b [t:5015], fix bug
git-svn-id: file:///svn/toku/tokudb@44223 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
bb5dce73d7 [t:5011], remove ydb lock status variables
git-svn-id: file:///svn/toku/tokudb@44207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
79dd055d79 [t:5011], remove the ydb lock
git-svn-id: file:///svn/toku/tokudb@44206 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
15b113f399 [t:4920], fix memory leak
git-svn-id: file:///svn/toku/tokudb@44204 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
d2d3de2efa [t:4920], [t:4953], separate ydb lock from hot indexing and checkpointing
git-svn-id: file:///svn/toku/tokudb@44202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
6df16a0e0e [t:4920], remove ydb lock from indexer->close and indexer->abort
git-svn-id: file:///svn/toku/tokudb@44161 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
30d3c88aeb [t:4968], remove dbs_that_must_close_before_abort
git-svn-id: file:///svn/toku/tokudb@44151 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
900d290cda [t:4877], [t:4966], [t:4952], [t:4881], [t:4918], merge to main
git-svn-id: file:///svn/toku/tokudb@44130 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
John Esmet
c65e976283 [t:4951] always release the MO lock before fsyncing the log in xa_prepare
git-svn-id: file:///svn/toku/tokudb@44126 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
John Esmet
2153c2061a [t:4963] Closes #4963 Remove race condition with closing and opening a lock tree
git-svn-id: file:///svn/toku/tokudb@44120 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
132409840c [t:4876], small change to toku_txn_begin relating to input flags
git-svn-id: file:///svn/toku/tokudb@44110 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
205f8c4cce [t:4962], remove ydb lock usage from create indexer
git-svn-id: file:///svn/toku/tokudb@44105 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
b484b9bd5e [t:4872] remove ydb lock usage for log_archive, opened ticket #4961 to investigate if any threading issues exist with that function
git-svn-id: file:///svn/toku/tokudb@44101 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
e793d27248 [t:4872] remove ydb lock usage for a bunch of getters and setters
git-svn-id: file:///svn/toku/tokudb@44098 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
1a9d283477 [t:4872], remove more superfluous usage of ydb lock
git-svn-id: file:///svn/toku/tokudb@44097 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
d0c782806a [t:4872], remove some superfluous instances of ydb lock from ydb.c
git-svn-id: file:///svn/toku/tokudb@44096 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
f7cec5577d [t:4876], [t:4919], finish removing ydb lock from loader, clean up some code for 4876
git-svn-id: file:///svn/toku/tokudb@44093 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
Leif Walsh
71101fd993 [t:4948] remove test1426.bdbdump from cmake files, add dependency on log code generation for tags
git-svn-id: file:///svn/toku/tokudb@44090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
John Esmet
f275751ce4 close[t:4959] executable bits dropped
git-svn-id: file:///svn/toku/tokudb@44076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
Leif Walsh
f39cbc7008 [t:4948] move env_simple.* out of src/tests (into /tokudb.data), update upgrade_simple.c to find them
git-svn-id: file:///svn/toku/tokudb@44075 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
John Esmet
d6634e04f0 [t:4749] [t:4878] [t:4929] [t:4947] merging these changes to main.
git-svn-id: file:///svn/toku/tokudb@44058 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
df056272dc [t:4876], report txn manager status to engine status
git-svn-id: file:///svn/toku/tokudb@44054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
9ed2d3f20f [t:4895], protect toku_dictionary_redirect with the MO lock
git-svn-id: file:///svn/toku/tokudb@44049 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
bfa379314a [t:4895], protect toku_dictionary_redirect with the MO lock
git-svn-id: file:///svn/toku/tokudb@44048 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
a22fa2be46 [t:4896], remove grabbing of ydb lock before freeing loader's resources
git-svn-id: file:///svn/toku/tokudb@44047 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
d31c90455a [t:4896], remove dead tests from CMakelists.txt
git-svn-id: file:///svn/toku/tokudb@44046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
830fe10730 [t:4896], [t:4876], fix bug in indexer-undo-do.c, remove db->i->refs
git-svn-id: file:///svn/toku/tokudb@44045 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
8363b34ac9 [t:4872], remove a couple of more instances of ydb lock
git-svn-id: file:///svn/toku/tokudb@44044 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
2b9c433256 [t:4876], release txn_manager lock earlier if outermost provisional is retired
git-svn-id: file:///svn/toku/tokudb@44035 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
dacf719591 [t:4876], add tests to not run for BDB
git-svn-id: file:///svn/toku/tokudb@44033 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
31bed592d9 [t:4876], add a recovery test
git-svn-id: file:///svn/toku/tokudb@44018 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
942fefde7e [t:4876], add a simple test for aborting a hot index while another transaction still has a reference to the hot index
git-svn-id: file:///svn/toku/tokudb@44017 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
a615d041cd [t:4765], [t:4876], [t:4890], merge to main
git-svn-id: file:///svn/toku/tokudb@44012 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
John Esmet
1d8c299345 close[t:4715] merging 4715 to main. at a high level, ft files are removed by marking OPEN ft/cf's as unlink on close, so when the last reference goes away, the file is unlinked. we log this bit during a checkpoint's fassociate to help with aborting a hot index in the future (so it isn't stricly necessary right now).
git-svn-id: file:///svn/toku/tokudb@44003 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
5da2303bbc [t:4926], release MO lock later on, just before fsync
git-svn-id: file:///svn/toku/tokudb@43940 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
21062d5d2c [t:4878], remove unnecessary variable
git-svn-id: file:///svn/toku/tokudb@43909 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00