Commit graph

35 commits

Author SHA1 Message Date
Leif Walsh
958c447641 closes #5206 merge c++ changes to mainline
git-svn-id: file:///svn/toku/tokudb@45903 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
d309b1edf7 refs #5265, change variable name from abj_ret to r
git-svn-id: file:///svn/toku/tokudb@45837 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
b6ad2b6c8b closes #5253, remove cachefile->checkpoint_state
git-svn-id: file:///svn/toku/tokudb@45740 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
9a8d117925 closes #5252, remove most_recent_global_checkpoint_that_finished_early
git-svn-id: file:///svn/toku/tokudb@45739 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
c5fb129582 refs #4606, remove ct->size_max
git-svn-id: file:///svn/toku/tokudb@45698 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
a3b24571fb refs #4606, remove some unnecessary .h files
git-svn-id: file:///svn/toku/tokudb@45685 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
61bfc24e54 refs #4606, remove stale comment
git-svn-id: file:///svn/toku/tokudb@45684 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
947badc7a5 closes #5249, remove CACHEFILE->for_local_checkpoint
git-svn-id: file:///svn/toku/tokudb@45681 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
a7d60e5577 closes #4634, remove unneeded function toku_cachefile_get_worqueue_load
git-svn-id: file:///svn/toku/tokudb@45659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
c5d5cf7646 refs #3634, separate ct lock from workqueue lock, remove usage of workqueues
git-svn-id: file:///svn/toku/tokudb@45658 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
9fd9a26e62 refs #4634, make flow control depend on a cachetable cond variable and not the workqueue
git-svn-id: file:///svn/toku/tokudb@45651 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
d843fcc1c4 closes #5241, finish removal of completion queues
git-svn-id: file:///svn/toku/tokudb@45640 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
119729779c refs #5241, make completion queues in cachetable unnecessary
git-svn-id: file:///svn/toku/tokudb@45639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Leif Walsh
a367232ad2 refs #5206 merge work making our code c99 and c++11 compatible, to mainline
git-svn-id: file:///svn/toku/tokudb@45632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
dfd2c9d1b8 refs #5239, closes #5240, remove unused functions in rwlock.h, fix bug in toku_cachetable_verify
git-svn-id: file:///svn/toku/tokudb@45626 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
7fdc9d4fae closes #5239, remove PAIR->verify_flag
git-svn-id: file:///svn/toku/tokudb@45625 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
18767e5ca1 closes #5211, closes #5215, closes 5224, merge to main
git-svn-id: file:///svn/toku/tokudb@45613 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
0e33e7828e refs #4931 comment changes
git-svn-id: file:///svn/toku/tokudb@45368 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
d3b55b4d8a refs #5189 xstillopen(prepared) must assert begin was logged, instead of ignoring
git-svn-id: file:///svn/toku/tokudb@45252 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Yoni Fogel
f1cadec681 refs #5117 Add documentation for txn optimizations
Use wrapper function toku_txn_is_read_only whenever it doesn't make sense to access variable directly

git-svn-id: file:///svn/toku/tokudb@45209 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Zardosht Kasheff
308fff4577 closes #5171, don't reference cachefile or fd in flush_callback when calling cachetable_free_pair, fix cachetable-test2 and toku_rollback_flush_callback to take this into account
git-svn-id: file:///svn/toku/tokudb@45100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Bradley C. Kuszmaul
a9264b9627 Some comments written during the open/close fops code review.
git-svn-id: file:///svn/toku/tokudb@44737 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Zardosht Kasheff
b4889da436 [t:5097], add fix and test for table corruption issue
git-svn-id: file:///svn/toku/tokudb@44705 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Leif Walsh
e13da393bc [t:5062] txnid becomes separate from lsn, and optimizations for read-only txns
git-svn-id: file:///svn/toku/tokudb@44591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Zardosht Kasheff
84b8eead6c [t:5071], do some cleanup in cachetable
git-svn-id: file:///svn/toku/tokudb@44512 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Zardosht Kasheff
9c47cdaf24 [t:4690], cleanup case statement in cachetable.c
git-svn-id: file:///svn/toku/tokudb@44485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -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
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
3609e305c1 [t:4967] remove the ydb lock from end checkpoint. note_unpin_by_checkpoint removes an ft reference, which is protected by the ft's ref lock.
git-svn-id: file:///svn/toku/tokudb@44129 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -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
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
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
Renamed from newbrt/cachetable.c (Browse further)