Commit graph

5871 commits

Author SHA1 Message Date
John Esmet
957bd4e939 Merge branch 'bugs/70' 2013-09-18 09:48:03 -04:00
John Esmet
e9be482ebf Fix this test - did not get built or tested properly on my end due to
BUILD_TESTING=Off in the cmake config.
2013-09-18 09:47:18 -04:00
Rich Prohaska
81e63d1dfd #50 add long tail counts to global status 2013-09-18 08:48:39 -04:00
John Esmet
e0e1cc9984 Merge branch 'bugs/70' 2013-09-18 00:19:25 -04:00
John Esmet
387523dc63 refs #70 Add a test to the range buffer that verifies the buf grows
properly after a small append into a large append
2013-09-18 00:18:57 -04:00
John Esmet
4fd61b9d8e Merge branch 'bugs/70' 2013-09-17 23:55:54 -04:00
John Esmet
ae87b251c8 fixed memory allocation error in range_buffer #70
fixes #70
2013-09-17 23:55:37 -04:00
Rich Prohaska
4cab5fd9c1 refs #59 turn off bdb builds for tokudb lock tree tests 2013-09-17 11:40:17 -04:00
Rich Prohaska
86e815082c refs #64 fix cpp guard 2013-09-17 11:39:26 -04:00
Rich Prohaska
4e3aa725f1 refs #64 fix clang on linux problems 2013-09-17 11:30:40 -04:00
John Esmet
e36ddbd5e9 Increase the lock timeout and sleep time to make this test less
timing-dependent (though it still is)
2013-09-14 10:48:35 -04:00
John Esmet
3e85b387f4 refs #59 Add the locktree visualization APIs, new accessors in the DB and DB_TXN,
and a new operation in test_stress0 for stress testing coverage
2013-09-13 11:10:49 -04:00
Leif Walsh
f8ae1ecfe8 remove -u option from cp, fixes #66 2013-09-12 14:41:44 -04:00
Leif Walsh
25dfdec3f9 fixed required cmake version #65
fixes #65
2013-09-12 09:00:47 -04:00
Rich Prohaska
7cc6daa642 refs #62 fix how tdb_logprint formats XID pairs 2013-09-08 11:32:48 -04:00
Rich Prohaska
50aef9b7d9 #50 count lock tree timeouts 2013-08-21 16:10:43 -04:00
zkasheff
f40b466bbe refs #36, have the FIFO realloc its buffer on resize, as opposed to malloc and memcpy 2013-08-21 15:29:30 -04:00
Zardosht Kasheff
a34734ccbc refs #54, improve the performance of hot indexing. This change does two things:
- gets indexer to run in reverse, that is, start at the end and run to beginning
 - refines locking a bit. An estimate of the position of the hot indexer is stored,
   that is cheap to look at. Threads that use this estimate with a mutex either do
   only a quick comparison or set it to a new value. Threads doing writes (with XXX_multiple calls)
   will check their position with respect to the estimate, and if they see the hot indexer
   is already past where they will modify, they don't grab the more expensive indexer
   lock. For insertion workloads that go to the end of the main dictionary of a table/collection,
   this check should practically always pass.
2013-08-21 15:10:05 -04:00
Rich Prohaska
b23b43a0d9 #50 count long tail events like long fsyncs, checkpoints, and lock tree waits 2013-08-20 13:36:45 -04:00
zkasheff
146344e9bb fixes #55, fix test 2013-08-20 11:31:13 -04:00
Rich Prohaska
a189ec77a1 Merge branch 'bdb-compile-fix' of github.com:Tokutek/ft-index into bdb-compile-fix 2013-08-19 14:56:51 -04:00
Rich Prohaska
4aa8376d08 #31 remove more tokudb only tests 2013-08-19 14:56:27 -04:00
Leif Walsh
8aa249a2bf guarded new DBT_ARRAY api functions with #ifdef USE_TDB #31
BDB versions of tests fail to compile because DBT_ARRAY is undeclared.
2013-08-19 14:56:27 -04:00
Rich Prohaska
c7e2810379 #31 remove more tokudb only tests 2013-08-19 14:54:42 -04:00
Zardosht Kasheff
dd20367fd5 refs #48, remove unnecessary paranoid_invariant 2013-08-19 14:06:37 -04:00
Leif Walsh
7f8dee53b2 guarded new DBT_ARRAY api functions with #ifdef USE_TDB #31
BDB versions of tests fail to compile because DBT_ARRAY is undeclared.
2013-08-19 10:16:49 -04:00
Zardosht Kasheff
6e12defeb0 refs #48, have ft_flush_some_child still do a flush if the child is a leaf node, so garbage collection happens 2013-08-18 11:13:46 -04:00
Zardosht Kasheff
fcbaec38c8 Merge branch 'bugs/mongo-399' 2013-08-13 15:02:04 -04:00
Zardosht Kasheff
1d0f97c5c7 refs Tokutek/mongo#399, change hot_optimize to take bounds 2013-08-13 15:01:27 -04:00
Yoni Fogel
d0642efd6a Refs Tokutek/ft-index#26 Fixes Tokutek/ft-index#31 Change api for *_multiple to support array indexing. Never call put/del_callback functions for src_db. 2013-08-12 14:20:59 -07:00
Yoni Fogel
654e771d60 Fixes Tokutek/ft-index#44 Fix loop counter/array bounds in test_stress0 2013-08-08 14:31:54 -07:00
Rich Prohaska
84c2b27088 allow tokftdump to work on old tokudb files 2013-08-05 09:48:54 -04:00
Leif Walsh
a52b3259f6 Merge branch 'drd' 2013-07-26 17:11:28 -04:00
Leif Walsh
fa50c80a0a use build type drd for nightly drd tests Tokutek/ft-engine#48 2013-07-26 17:10:48 -04:00
Leif Walsh
86ef24086b updated drd test script to use the drd build type Tokutek/ft-engine#48 2013-07-24 13:49:19 -04:00
Yoni Fogel
d51295f834 Merge branch '6712' 2013-07-19 13:29:50 -07:00
Yoni Fogel
80e51be08b refs Tokutek/ft-engine#40 Prevent bdb from trying to run test_restrict (tokudb only test) 2013-07-19 13:29:35 -07:00
RIch Prohaska
b8af9b8c7e Merge pull request #33 from Tokutek/drd-flags
changed cmake to use a new build type for drd Tokutek/ft-engine#48
2013-07-19 11:13:48 -07:00
Leif Walsh
18421f4be8 changed cmake to use a new build type for drd Tokutek/ft-engine#48
This lets us use CMAKE_BUILD_TYPE=drd instead of hijacking
RelWithDebInfo.

Also, make RelWithDebInfo synonymous with Release so we can build
MySQL/MariaDB that way.
2013-07-19 13:55:28 -04:00
Yoni Fogel
68bcf15b2f Merge branch '6712'
Refs Tokutek/ft-engine#40 Merge bulk fetch bugfix
2013-07-18 16:05:42 -07:00
Yoni Fogel
b2ab84094d Refs Tokutek/ft-engine#40 Fix bug with checking left/right ranges of bounded query and interaction with bulk fetch
Add regression test
2013-07-18 16:03:01 -07:00
Yoni Fogel
4ed0e8ed62 Merge branch '6712' 2013-07-17 15:09:47 -07:00
Yoni Fogel
260df68320 Refs trac [t:6712], Refs Tokutek/ft-engine#40 When possible, optimize by only checking left or right bound during a bounded query 2013-07-17 14:55:23 -07:00
Yoni Fogel
cf30466f4f Refs trac 6712, Refs Tokutek/ft-engine#40 Reduce computation time when we read something out of bounds (do not look in other basement/leaf nodes) 2013-07-17 14:55:23 -07:00
Yoni Fogel
26840f8a78 Refs Tokutek/ft-engine#40 Rename c_restrict_to_range to c_set_bounds, delete c_pre_acquire_range_lock 2013-07-17 14:55:23 -07:00
Yoni Fogel
6a74f0aacd Refs Tokutek/ft-engine/#40 Add c_restrict_to_range function to force cursor to keep track of prelocked range 2013-07-17 14:55:23 -07:00
John Esmet
96d87f75e5 Add support for less than 4 dbs for perf iibench 2013-07-15 11:36:37 -04:00
John Esmet
9858bf38c0 refs #5770 Only check one basement node on pin, remove the assumption that adjacent
available nodes are query-able.
2013-07-15 11:36:31 -04:00
Leif Walsh
08adc6e17d add buildbot compiler suppressions file 2013-07-10 14:35:59 -04:00
Yoni Fogel
403991aaae Refs Tokutek/ft-index#28 Use prctl (on any linux) even if it is too old for PR_SET_PTRACER.
Ignore any error caused by this
2013-07-08 13:43:30 -07:00