Commit graph

4879 commits

Author SHA1 Message Date
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
Yoni Fogel
6de3fadd01 [t:4944] closes #4944. Remove all windows code and libraries.
We can resurrect this if necessary in the future and we want to support windows.
Right now it just gets in the way and makes checkouts larger."


git-svn-id: file:///svn/toku/tokudb@43969 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
4b4761ee2c [t:4942], fix leaks in ft-XXX tests
git-svn-id: file:///svn/toku/tokudb@43939 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
19aefb8f57 [t:4942], fix memory leak
git-svn-id: file:///svn/toku/tokudb@43937 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
5d5180ca35 [t:4941], remove tabs from ftloader.c
git-svn-id: file:///svn/toku/tokudb@43936 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
Zardosht Kasheff
caa50d1d5b [t:4936], remove locked_ydb_inames
git-svn-id: file:///svn/toku/tokudb@43898 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
04d853de8b [t:4928], use locked_txn_XXX functions in autotxn functions
git-svn-id: file:///svn/toku/tokudb@43897 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
f2c4fe13e8 [t:4875], [t:4887], merge from tokudb.4875 to main
git-svn-id: file:///svn/toku/tokudb@43896 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
939721e749 [t:4928], some simplification to toku_db_construct_autotxn
git-svn-id: file:///svn/toku/tokudb@43890 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
2dc2fee190 [t:4928], remove autotxn_db_open
git-svn-id: file:///svn/toku/tokudb@43889 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Leif Walsh
7b3d878101 [t:4875] remove toku_mark_node_dirty since it's not really used anymore
git-svn-id: file:///svn/toku/tokudb@43886 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Leif Walsh
cda3e9816b [t:4871] revert cast through void *, that broke the linux build. need to find another way
git-svn-id: file:///svn/toku/tokudb@43885 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Leif Walsh
95ed2a0eb6 [t:4871] cast pthread_t through void * to avoid -Wbad-function-cast on osx, fix toku_time.h on osx too (include errno.h)
git-svn-id: file:///svn/toku/tokudb@43884 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Leif Walsh
966eea0f44 [t:4871] disable -Wshadow on osx
git-svn-id: file:///svn/toku/tokudb@43881 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Leif Walsh
48b981c853 [t:4871] add --quiet to valgrind invocation to let us use tokugrind
git-svn-id: file:///svn/toku/tokudb@43880 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Zardosht Kasheff
d10c9482c9 [t:4927], remove tabs from files in src
git-svn-id: file:///svn/toku/tokudb@43841 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Yoni Fogel
51dacb892c [t:4901] rename struct ft { FT h } to { FT ft }
git-svn-id: file:///svn/toku/tokudb@43771 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Yoni Fogel
f0cd39e1a0 [t:4875] Removed cruft from ft (dictionary_opened). Moved options in ft_handle to an options struct
git-svn-id: file:///svn/toku/tokudb@43769 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Christian Rober
6f3b21c589 [t:4577] Backing out a bad commit.
git-svn-id: file:///svn/toku/tokudb@43766 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Christian Rober
1350222683 [t:4577] Backing out a bad commit.
git-svn-id: file:///svn/toku/tokudb@43765 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Christian Rober
6a799c4696 [t:4755] New branch and minimal upgrade error code changes.
git-svn-id: file:///svn/toku/tokudb@43763 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Yoni Fogel
3a208cebc4 closes [t:4913]. Modelines now synchronized in every source/header file (and always top two lines)
git-svn-id: file:///svn/toku/tokudb@43762 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Yoni Fogel
d7110795c2 [t:4768] Remove obsolete test
git-svn-id: file:///svn/toku/tokudb@43761 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
b3375a8e0f [t:4890], remove release_multi_operation_client_unlock code from TOKUTXN layer and handle it at ydb layer
git-svn-id: file:///svn/toku/tokudb@43746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
b3b10ee4ef [t:4890], remove unused code
git-svn-id: file:///svn/toku/tokudb@43739 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
bde8c74d19 [t:4890], make an exported function static
git-svn-id: file:///svn/toku/tokudb@43738 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
b5a3b74a69 [t:4890], remove tabs from ft-serialize.c
git-svn-id: file:///svn/toku/tokudb@43736 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
1123d65d33 [t:4890], remove tabs from ydb_txn.c
git-svn-id: file:///svn/toku/tokudb@43735 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
0bd44bcfc8 [t:4890], make toku_txn_start_txn be a void function
git-svn-id: file:///svn/toku/tokudb@43734 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
f16fade45e [t:4890], undo last checkin, was a little hasty
git-svn-id: file:///svn/toku/tokudb@43733 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
108c319e15 [t:4890], make toku_txn_start_txn and toku_txn_create_txn be void functions
git-svn-id: file:///svn/toku/tokudb@43732 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
61d34063ab [t:4890], remove tabs from roll.c, rollback.c, txn.c
git-svn-id: file:///svn/toku/tokudb@43731 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
John Esmet
403ddb8f9b close[t:4908]
cachefile openfd_mutex is gone

also clarified an error condition in ft_open


git-svn-id: file:///svn/toku/tokudb@43730 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
John Esmet
eeaab8ef91 close[t:4907]
simplified how reserving filenums works.

no more tracking reserved filenums in an OMT. just give out an autoincrement value and be sure that it isn't already used by something that exists in the cachetable.



git-svn-id: file:///svn/toku/tokudb@43729 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
18271587f3 [t:4909], remove tabs from cachetable.c
git-svn-id: file:///svn/toku/tokudb@43728 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Yoni Fogel
9162f7d0b6 closes [t:4906] Split ft-serialize.c. Added (hopefully temporary) ft-pwrite.c,h
git-svn-id: file:///svn/toku/tokudb@43725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Leif Walsh
3719bf2c2f [t:4901] merging brt->ft rename to main
git-svn-id: file:///svn/toku/tokudb@43686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Rich Prohaska
fe705b3810 #4753 simplify pthread rwlocks interface closes[t:4753]
git-svn-id: file:///svn/toku/tokudb@43670 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:32 -04:00
Leif Walsh
aaffcb1373 [t:4871] use tokugrind
git-svn-id: file:///svn/toku/tokudb@43636 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:32 -04:00
Leif Walsh
9df93579d5 [t:4871] don't run upgrade_test_simple with valgrind
git-svn-id: file:///svn/toku/tokudb@43633 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:32 -04:00