- 13 Jun, 2008 1 commit
-
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@4514 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 12 Jun, 2008 6 commits
-
-
Yoni Fogel authored
Use ybt->size field if ybt->ulen field is unset (for DB_DBT_REALLOC). git-svn-id: file:///svn/tokudb@4505 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
toku_db_set_* (the dbt setting functions) no longer require atomicity for ENOMEM cases. Also, in the case of realloc, we only alloc new memory if the new size is larger than the old size, or the new size is less than half of the old size. Code has some simplifications due to lesser atomicity requirements. Modified src/tests/test_db_dbt_mem_behavior.c to take into account that DB_DBT_REALLOC now uses the ulen field. git-svn-id: file:///svn/tokudb@4504 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@4502 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Added test_838 to tests that should fail. git-svn-id: file:///svn/tokudb@4501 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4500 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@4493 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 11 Jun, 2008 4 commits
-
-
Yoni Fogel authored
Implements DB->pre_acquire_table_lock Also optimized lock tree for table write locks git-svn-id: file:///svn/tokudb@4480 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Add DB->pre_acquire_table_lock to headers git-svn-id: file:///svn/tokudb@4479 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4473 c7de825b-a66e-492c-adef-691d508d4ae1
-
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 1 commit
-
-
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
-