- 11 Jun, 2008 1 commit
-
-
Yoni Fogel authored
Skip lock tree overhead (marshalling and calling) when appropriate due to DB_PRELOCKED/DB_PRELOCKED_WRITE git-svn-id: file:///svn/tokudb@4469 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 10 Jun, 2008 5 commits
-
-
Yoni Fogel authored
Add DB_PRELOCKED_WRITE flag git-svn-id: file:///svn/tokudb@4462 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4460 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
So to use the lightweight cursors with the prelock one does: {{{ ./scanscan-tokudb --prelock --nohwc --lwc }}} Addresses #893. git-svn-id: file:///svn/tokudb@4454 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@4453 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4452 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 08 Jun, 2008 2 commits
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4421 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4420 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 06 Jun, 2008 5 commits
-
-
Yoni Fogel authored
Parameters to pre_lock are supposed to be const DBT*'s instead of DBT*'s. git-svn-id: file:///svn/tokudb@4403 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Implement db->pre_acquire_read_lock(), db->dbt_pos_infty(), and db->dbt_neg_infty() functions. Example usage to lock entire table: db->pre_acquire_read_lock(db, txn, db->dbt_neg_infty(), NULL, db->dbt_pos_infty(), NULL); (Above is for db with no duplicates, i.e. primary index). For db with duplicates: db->pre_acquire_read_lock(db, txn, db->dbt_neg_infty(), db->dbt_neg_infty(), db->dbt_pos_infty(), db->dbt_pos_infty()); Will return same lock error codes as db calls do (when locks fail). 0 = success DB_LOCK_NOTGRANTED = failed to obtain the lock. We can theoretically sleep and try again here. If you want to grab from DBT* A to infinity.. db->pre_acquire_read_lock(db, txn, A, NULL, db->dbt_pos_infty(), NULL); git-svn-id: file:///svn/tokudb@4402 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Leaf boundary test now checks left to right and right to left. git-svn-id: file:///svn/tokudb@4401 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Additional tests to verify we handle provdel leaf entries correctly (when we need to cross between leaf boundaries. git-svn-id: file:///svn/tokudb@4400 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4397 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 05 Jun, 2008 1 commit
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4388 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 04 Jun, 2008 1 commit
-
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@4367 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 03 Jun, 2008 10 commits
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4351 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4348 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4347 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Bugfix in integration of omt cursors. We were considering provdel leaf entries as not deleted. git-svn-id: file:///svn/tokudb@4343 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
as possible to the O(logn) cursors. Semantics are now as close as possible, and may be a little faster now. git-svn-id: file:///svn/tokudb@4339 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@4337 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
so that it can invalidate and return EINVAL (since index is unsigned) git-svn-id: file:///svn/tokudb@4336 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@4335 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4333 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
Go to the O(logN)-integer-compare implementation, which is about 5% faster than the O(1) implementation. I cannot explain it. The old stuff is now in {{{omt-with-o1-cursors/}}}. Addresses #855, #856. git-svn-id: file:///svn/tokudb@4329 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 02 Jun, 2008 4 commits
-
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@4328 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@4327 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Integrate the omtcursors into the BRT. So far only DB_NEXT is implemented. Addresses #855, #856. Added missing information needed for commit git-svn-id: file:///svn/tokudb@4326 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4325 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 30 May, 2008 2 commits
-
-
Yoni Fogel authored
Bugfix in merge of tokudb.855 into trunk Forgot to update all users of the omt git-svn-id: file:///svn/tokudb@4309 c7de825b-a66e-492c-adef-691d508d4ae1
-
Vincenzo Liberatore authored
git-svn-id: file:///svn/tokudb@4308 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 29 May, 2008 6 commits
-
-
Bradley C. Kuszmaul authored
After swapping the order of the free and the alloc of the leafentry, I messed up because the alloc might move the leafentry, so the leafentry's size must be computed while the pointer is still good. Fixes #881. git-svn-id: file:///svn/tokudb@4276 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4259 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4258 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4256 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
Please run the test case under the debugger (compiled with -O0), and then in gdb when it bombs do the following commands. {{{ (gdb) print original_mp (gdb) print last_total_size_needed (gdb) up (gdb) print *mp (gdb) where }}} Addresses #880. git-svn-id: file:///svn/tokudb@4255 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
svn delete tokudb.872 cd tokudb svn merge -r4187:4233 https://svn.tokutek.com/tokudb/tokudb.872 }}} Fixes #849, #872. Addresses #820. git-svn-id: file:///svn/tokudb@4234 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 28 May, 2008 2 commits
-
-
Zardosht Kasheff authored
change flag in toku_db_remove from DB_BTREE to DB_UNKNOWN git-svn-id: file:///svn/tokudb@4203 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
{{{ $ cd tokudb; svn merge -r 4179:4181 https://svn.tokutek.com/tokudb/tokudb.871 $ svn delete tokudb.871 }}} Fixes #871. Addresses #406. (Possibly fixes both.) git-svn-id: file:///svn/tokudb@4182 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 27 May, 2008 1 commit
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4178 c7de825b-a66e-492c-adef-691d508d4ae1
-