- 17 Jun, 2008 6 commits
-
-
Vincenzo Liberatore authored
git-svn-id: file:///svn/tokudb@4587 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Allocates room for at least 4 elements every time we convert from tree to array (and vice versa). git-svn-id: file:///svn/tokudb@4586 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Merged current progress into trunk git-svn-id: file:///svn/tokudb@4581 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@4580 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@4577 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Merge 'convert to array on rebalancing root' change git-svn-id: file:///svn/tokudb@4576 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 16 Jun, 2008 2 commits
-
-
Yoni Fogel authored
Merge initial version of array representation of omts into trunk git-svn-id: file:///svn/tokudb@4574 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@4546 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 15 Jun, 2008 4 commits
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4545 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4544 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4543 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@4541 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 14 Jun, 2008 1 commit
-
-
Bradley C. Kuszmaul authored
Fixes #907. git-svn-id: file:///svn/tokudb@4524 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 13 Jun, 2008 2 commits
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4521 c7de825b-a66e-492c-adef-691d508d4ae1
-
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 1 commit
-
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@4351 c7de825b-a66e-492c-adef-691d508d4ae1
-