Commit graph

13 commits

Author SHA1 Message Date
Zardosht Kasheff
66b56b6be0 [t:4874], make toku_brtheader_remove_txn_ref still depend on the ydb lock. Holding the header lock while trying to close leads to deadlocks. Need to rethink how to get close during toku_brtheader_remove_txn_ref working
git-svn-id: file:///svn/toku/tokudb@43437 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
2fae14ff30 [t:4874], fix silly bug in toku_brtheader_maybe_add_txn_ref
git-svn-id: file:///svn/toku/tokudb@43436 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
34b3dae38e [t:4880], fix toku_brtheader_get_some_existing_brt
git-svn-id: file:///svn/toku/tokudb@43434 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
b5084ff8a0 [t:4874], remove dependence of ydb lock from h->live_brts and live->txns
git-svn-id: file:///svn/toku/tokudb@43433 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
20d141c02d [t:4874], move all usage of h->live_brts to brt_header.c
git-svn-id: file:///svn/toku/tokudb@43432 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
c2f5ebd9a8 [t:4875], reorder some functions in brt_header.c to put logically connected functions next to each other
git-svn-id: file:///svn/toku/tokudb@43430 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
9b6aa5a527 [t:4875], add some comments
git-svn-id: file:///svn/toku/tokudb@43429 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
445f9283d5 [t:4875], memset header to 0 when creating it, get rid of calls to toku_read_brt_header_and_store_in_cachefile in brt-test-helpers
git-svn-id: file:///svn/toku/tokudb@43428 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
f3a3fe1e44 [t:4875], clean up toku_create_new_brtheader
git-svn-id: file:///svn/toku/tokudb@43427 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
9a3cf1670a [t:4875], move some more stuff over to brt_header.c, make some functions static
git-svn-id: file:///svn/toku/tokudb@43426 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
0414ce9065 [t:4875], remove tabs from brt_header.c
git-svn-id: file:///svn/toku/tokudb@43424 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
df8622d4d1 [t:4875], remove unneeded includes
git-svn-id: file:///svn/toku/tokudb@43423 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
5c4c022e9c [t:4875], create brt_header.c to isolate header code
git-svn-id: file:///svn/toku/tokudb@43422 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00