- 17 Apr, 2013 40 commits
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/toku/tokudb@11672 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
Addresses #1736, #1398 Move extern declaration of STRADDLE_HACK_INSIDE_CALLBACK from cachetable.c to cachetable.h to allow build on Windows. git-svn-id: file:///svn/toku/tokudb@11660 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
Addresses #1736, #1398 When inside straddle_hack callback don't use normal rwlock_read_lock for get_and_pin, but simply increment reader count instead. This prevents deadlock where callback waits for end_checkpoint to release write lock, but while end_checkpoint waits for callback to release read lock. git-svn-id: file:///svn/toku/tokudb@11658 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Closign and opening a cachefile is now threadsafe (race condition when trying to open during a close). If race condition hits, it will stall the open till the close is done. All opens are now single threaded. This can be improved if it causes a bottleneck. Added comments for possible future race conditions after lock refinement. git-svn-id: file:///svn/toku/tokudb@11644 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/toku/tokudb@11637 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11603 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11569 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
When a new brt is open, it takes over responsibilities of all existing zombie brts, and closes them. When a brt closes, if other brts exist, it passes off responsibilities and closes immediately. It only becomes a zombie if no other brts exist. (Everything above is in context of a single header). git-svn-id: file:///svn/toku/tokudb@11533 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11532 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11528 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11526 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11521 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11509 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11508 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11506 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11497 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11496 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11494 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/toku/tokudb@11488 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/toku/tokudb@11487 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/toku/tokudb@11475 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11468 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11466 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11464 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
modified other checkpoint tests for common code. git-svn-id: file:///svn/toku/tokudb@11446 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
may be useful for debugging. In any case, they're harmless. git-svn-id: file:///svn/toku/tokudb@11410 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Addresses #1691 Further fixes to a race condition where refcounts in a cachefile were not protected by any lock. See [11371] removed most of the causes of this (by limiting the places where refcount was edited). Now (cachefile) refcounts are protected by the cachetable_lock. git-svn-id: file:///svn/toku/tokudb@11408 c7de825b-a66e-492c-adef-691d508d4ae1
-
Zardosht Kasheff authored
get handlerton compiling on windows git-svn-id: file:///svn/toku/tokudb@11405 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11400 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11395 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Remove transactions' need to count references to cachefiles (they already have references to brts) Errors in rolling back certain functions were ignored (r = blah; return something_else); They are now reported, so diskfull had to be updated to expect ENOSPC under certain circumstances. git-svn-id: file:///svn/toku/tokudb@11371 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/toku/tokudb@11370 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Addresses #1691 Txn that created or locked when empty is now per dictionary (in header instead of brt) We clear it when the transaction closes (this means we cannot change it when it is already set till that transaction finishes). This fixes a crash in windows in root_fifo_2.tdb git-svn-id: file:///svn/toku/tokudb@11365 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/toku/tokudb@11361 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/toku/tokudb@11360 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/toku/tokudb@11359 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11346 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
git-svn-id: file:///svn/toku/tokudb@11345 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
Verify that inserts done during checkpoint do not appear in checkpoint snapshot but do appear in dictionary after checkpoint is complete. git-svn-id: file:///svn/toku/tokudb@11344 c7de825b-a66e-492c-adef-691d508d4ae1
-
Barry Perlman authored
in logic that shrinks files (to free disk space) when possible. git-svn-id: file:///svn/toku/tokudb@11340 c7de825b-a66e-492c-adef-691d508d4ae1
-