- 21 Mar, 2008 6 commits
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@3005 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
Add the first two tests for {{{DB_ENV->log_archive}}}. Fix up some memory leaks. Add {{{LSN*}}} to all the {{{toku_log_*}}} functions so that {{{toku_logger_txn_begin}}} can use the LSN as a txnid. Addresses #75, #83, #392. git-svn-id: file:///svn/tokudb@3004 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
{{{DB_ENV->log_archive}}} understands checkpoints, but not live transactions. Addresses #75, #83, #392. git-svn-id: file:///svn/tokudb@3003 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
make {{{DB_ENV->log_archive}}} return something (but it's not quite right). Clean up the serialization of the brt header. Fix up {{{DB_ENV->txn_checkpoint}}} (but it's not quite right). Addresses #75, #83, #392. git-svn-id: file:///svn/tokudb@3000 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
error code for running out of locks git-svn-id: file:///svn/tokudb@2994 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2991 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 20 Mar, 2008 3 commits
-
-
Bradley C. Kuszmaul authored
test_abort2 works up until a lock tree problem. I think the test and abort mechanisms are right now. I'll close #556 but file a new bug (#569). Fixes #556. Addresses #569. git-svn-id: file:///svn/tokudb@2982 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Addresses #554 When lock trees close before transactions do (that touch them), we can crash or have memory corruption. Now, when lock trees close, they alert all transactions that they have disappeared. git-svn-id: file:///svn/tokudb@2974 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@2973 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 19 Mar, 2008 17 commits
-
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@2964 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2960 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2955 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
while investigating 554, came across this issue of not checking for proper value This MAY fix 554, but we doubt it. git-svn-id: file:///svn/tokudb@2953 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Lock escalation causes all lock trees (all dbs in an environment) to escalate their locks. This is useful, since we can have one lock tree/db holding 99% of the locks and then we run out of locks on a different lock tree. git-svn-id: file:///svn/tokudb@2952 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Fixed memory leak during closing of lock tree managers. git-svn-id: file:///svn/tokudb@2951 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Fixes memory leak (just in test) of locktree managers. git-svn-id: file:///svn/tokudb@2950 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Lock tree manager keeps track of all the lock trees so we can loop through them. git-svn-id: file:///svn/tokudb@2949 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
'Lock tree manager' object created to hold data shared by all lock trees i.e. Current number of locks (per env) and max locks (per env) Uses functions to change max_locks. Added tests for lock tree manager. git-svn-id: file:///svn/tokudb@2948 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2946 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2945 c7de825b-a66e-492c-adef-691d508d4ae1
-
Zardosht Kasheff authored
git-svn-id: file:///svn/tokudb@2944 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@2943 c7de825b-a66e-492c-adef-691d508d4ae1
-
Zardosht Kasheff authored
git-svn-id: file:///svn/tokudb@2942 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2941 c7de825b-a66e-492c-adef-691d508d4ae1
-
Zardosht Kasheff authored
git-svn-id: file:///svn/tokudb@2940 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
Create test_log6a_abort.c. Returns {{{ENOMEM}}} from {{{r = toku_lt_acquire_write_lock(db->i->lt, toku_txn_ancestor(txn...)...)}}} in ydb.c:2126. Addresss #536. Maybe also Addresses #501. (?). git-svn-id: file:///svn/tokudb@2932 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 18 Mar, 2008 10 commits
-
-
Yoni Fogel authored
create iterator for lth git-svn-id: file:///svn/tokudb@2930 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@2929 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@2925 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@2923 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
always have lock escalation to be turned on git-svn-id: file:///svn/tokudb@2919 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2918 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
The final fix for this bug involves writing zeros into the unused bytes of the disk when serializing nodes. This is important for two reasons: 1. It makes the files the same the bit-level. (The problem showed up because a node of size near 1MB was written, and then the node split, causing the node to shrink, and when the node was written again, some left over bits from the previous node were still on disk. Then the file compare failed after recovery.) 1. It causes the file system to actually allocate the space for a node, so that when a node grows, it will all be contiguous on disk. It has the disadvantage of writing more to disk than we did before, possibly reducing performance. It probably doesn't matter much, however. git-svn-id: file:///svn/tokudb@2916 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2914 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
Fixes many problems in {{{test_log10}}}. There's a memory leak and the recovered files still differ, however. Addresses #548. git-svn-id: file:///svn/tokudb@2913 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2912 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 17 Mar, 2008 4 commits
-
-
Yoni Fogel authored
Fixes a bug with escalation caught by valgrind. git-svn-id: file:///svn/tokudb@2904 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@2903 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
implemented lock escalation MINUS flagging of messy transactions implemented tests for lock escalation git-svn-id: file:///svn/tokudb@2902 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@2900 c7de825b-a66e-492c-adef-691d508d4ae1
-