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
Yoni Fogel
53a9e3fa6a
Refs Tokutek/ft-index#28 Fix compile failure on machines without prctl
2013-07-05 23:04:52 -07:00
Yoni Fogel
a921615d73
Refs Tokutek/ft-index#28 Fix compile failure
2013-07-05 16:23:23 -07:00
Yoni Fogel
93abcb99de
Refs Tokutek/ft-index#28 Fix compile failure on systems that don't support PR_SET_PTRACER
2013-07-05 15:43:53 -07:00
Yoni Fogel
48ec1d99c6
Refs Tokutek/ft-index#28 Add function to attach gdb to the running process and extract information.
2013-07-05 14:09:12 -07:00
Rich Prohaska
bcf33e445d
#27 build on linux and osx
2013-07-04 11:59:54 -04:00
rich prohaska
86dd5aaca2
#27 rename the low priority multi operation checkpoint lock
2013-07-03 09:34:39 -04:00
Rich Prohaska
6ff7f66112
#27 bigtxn with checkpoints passes the bigtxn27 test
2013-06-30 20:01:52 -04:00
Rich Prohaska
05e48fa5d5
#27 test case for big txn and checkpoint blocking other commits
2013-06-29 13:13:31 -04:00
Rich Prohaska
34b8c02bf2
#27 test case for big txn and checkpoint blocking other commits
2013-06-28 16:51:59 -04:00
Leif Walsh
0a577e9459
fix memory leak in test for #18
2013-06-26 13:40:24 -04:00
Rich Prohaska
6fffcbd536
#17 fix closedir with null pointer bug in toku_get_version_of_logs_on_disk found by injecting open file errors
2013-06-26 10:34:36 -04:00
Rich Prohaska
ea76d4d37d
#17 fix a memory leak
2013-06-24 17:06:15 -04:00
Rich Prohaska
a722e8cb71
#17 test env open with open file limit
2013-06-24 15:22:34 -04:00
Rich Prohaska
57b8de7363
#17 gracefull db open
2013-06-24 10:53:31 -04:00
Rich Prohaska
4ff2082a57
#17 graceful error exit when out of file descriptors
2013-06-24 09:55:56 -04:00
Yoni Fogel
7f84d4b7a4
refs #25 . Fix (test-only) bug where db_env_set_toku_product_name would not get called for some tests because they were lower than ydb layer
2013-06-12 08:31:32 -07:00
Yoni Fogel
a5770c1ce1
refs #25 . Makes product name configurable via
...
db_env_set_toku_product_name
2013-06-11 19:44:52 -07:00
Leif Walsh
742fe76266
handle the error returned by open_logfile, if there is one, closes #24
2013-06-03 20:35:25 -04:00
Yoni Fogel
dc7dd5a1c3
Merge branch 'master' of github.com:Tokutek/ft-index
2013-05-30 16:04:30 -07:00
Yoni Fogel
4c8c67048c
Update .gitignore for tags and jemalloc symlink
2013-05-30 16:04:17 -07:00
Leif Walsh
8a3d908ba3
demangle partitioned counter functions, and export read_partitioned_counter, closes #23
2013-05-30 13:33:58 -04:00
Leif Walsh
c64a51a2be
remove overactive assert that in_memory_stats.numbytes is nonnegative #18
2013-05-28 16:31:15 -04:00
Rich Prohaska
138452e823
cleanup pmprof a bit
2013-05-28 11:29:54 -04:00
Rich Prohaska
ec0b0b4044
remove unused check.copyright.py
2013-05-28 11:29:25 -04:00
Leif Walsh
77c7cdd7fe
implement db->get_key_after_bytes closes #18
...
squashed commits:
create db->get_key_after_bytes() api down to the ft layer, and start a unit test
refs #18
setup/teardown for get_key_after_bytes test
refs #18
rename test because it really is going to be a small unit test
refs #18
implement a few initial checks
refs #18
adding actually_skipped parameter because we will want it in splitVector
refs #18
NULL -> nullptr, I'm rusty from mongo work
refs #18
fix some old apis to fit what get_key_after_bytes needs:
make keyrange_compare_s hold an FT instead of FT_HANDLE to prepare for reuse refs #18
make keyrange_compare_s hold a const dbt refs #18
fix const-correctness of fill_bfe functions refs #18
add unit test for an empty dictionary
refs #18
implement get_key_after_bytes for a single basement node, passes simple tests
refs #18
add test for multiple basement nodes
refs #18
fix usage of ft_search_t, we do need a full one after all
refs #18
check actually_skipped for correctness (even though it's an estimate)
refs #18
restructure test to be faster, and test keys before the beginning of the table
refs #18
don't try to read in the right basement node, just check the bns you have
refs #18
implement get_key_after_bytes for height > 0 trees
refs #18
return the amount skipped even if we hit the end of the table
refs #18
add inexact test for height > 0 trees, adjust constants so it's faster
refs #18
don't do I/O to bring in basement nodes just for get_key_after_bytes
refs #18
don't blindly check the first basement node, it's not guaranteed to be there anymore
refs #18
fix leak in get_key_after_bytes_unit.tdb
refs #18
add get_key_after_bytes to test_stress5
refs #18
switch to a callback API to save mallocs and memcpys
refs #18
2013-05-24 18:02:29 -04:00
Leif Walsh
61c352125b
fix example compilation with bdb >=5
...
closes #14
2013-05-06 09:07:09 -04:00
Leif Walsh
88def6a5cb
fix or suppress errors due to -Wmaybe-uninitialized in GCC 4.8
...
closes #13
2013-05-06 08:30:03 -04:00
Rich Prohaska
b7365688d1
fix memory leak in huge page detection
2013-05-05 11:53:03 -04:00
Rich Prohaska
9c8e21b4ba
remove out of date man pages
2013-05-03 15:16:36 -04:00
Rich Prohaska
657185c88b
remove tabs from examples
2013-05-03 10:11:15 -04:00
Rich Prohaska
550d331f36
Merge branch 'master' of github.com:Tokutek/ft-index
2013-05-03 09:01:15 -04:00
prohaska
59bd5598a1
print iteration on status, get db-insert -x working with bdb 4.7
2013-05-03 09:00:09 -04:00
Leif Walsh
5b2010b744
only append -fimplicit-templates if -fno-implicit-templates is already there because of mysql/mariadb
2013-05-02 14:47:40 -04:00
Leif Walsh
9a2b39499a
fix cmake check for dlsym() when a subproject of mysql 5.6
2013-05-02 14:47:40 -04:00
Rich Prohaska
0af5b8f458
remove c++ api and db-benchmark-test
2013-05-02 11:55:13 -04:00
Rich Prohaska
1ead340232
remove c++ api and db-benchmark-test
2013-05-02 11:54:58 -04:00
Rich Prohaska
05f8220d29
link to tokufractaltree
2013-05-01 14:31:01 -04:00
Leif Walsh
ec915dfadf
disable -fimplicit-templates on clang #6
2013-05-01 08:04:21 -04:00