Yoni Fogel
168e12c7e9
Refs Tokutek/ft-index#159 Calculate klpair size correctly when message application deletes a leafentry
2014-01-27 21:02:34 -08:00
Yoni Fogel
30bf78b3fc
Refs Tokutek/ft-index#159 Calculate klpair size correctly when garbage collection deletes a leafentry
2014-01-27 20:58:43 -08:00
Yoni Fogel
8c3c9ca4f2
refs Tokutek/mongo#886 Fix get_last_key test.
...
Garbage collection was done on the clones and did not always make it to in-memory.
Also, closing a db and reopening no longer (necessarily) flushes the nodes out of memory; we close the entire environment when we want to ensure we read it.
2014-01-27 20:52:25 -08:00
John Esmet
625d852692
fixes #145 Destroy resources outside of the pair's write lock during
...
partial eviction
2014-01-23 16:59:49 -05:00
John Esmet
75052cdc11
fixes #127 Add a class for scoped mallocs, which are satisfied from a
...
thread-local buffer when possible.
2014-01-23 16:57:04 -05:00
John Esmet
8527aa5aeb
Fix an off by 1 bug
2014-01-23 11:20:31 -05:00
John Esmet
fbc1f5933e
fixes #146 Add context class and track the current writer/context in the
...
frwlock
2014-01-22 13:18:49 -05:00
John Esmet
8fc37abdcd
fixes #156 Add a parameter for the nonleaf partial eviction strategy
2014-01-22 12:56:45 -05:00
Yoni Fogel
3207d145ff
refs Tokutek/mongo#886 Clean up test (don't repeat test 3 times), run several more cases
2014-01-21 23:34:53 -08:00
Zardosht Kasheff
991e31ed32
refs Tokutek/mongo#886 , change get_last_key to use a callback instead of copying data, so that we don't have
...
mongo code freeing data that fractal tree allocated.
2014-01-21 23:08:30 -05:00
Yoni Fogel
2a04aefc6f
refs Tokutek/mongo#886
...
Add db->get_last_key() and test.
Add test
2014-01-21 17:08:59 -05:00
John Esmet
e1a82f88ab
fixes #142 Always use quicklz when partially evicting an internal node
...
partition
2014-01-21 13:04:35 -05:00
John Esmet
773bb8c945
fixes #132 Calculate size delta statistics once during the partial
...
eviction callback
2014-01-21 13:04:35 -05:00
John Esmet
ed9b5fc676
fixes #140 Pre-size the fifo before appending data during nonleaf
...
serialization. Assume the fifo is about 1kb larger than the read buffer
(in practice, the fifo is 5 bytes smaller than the read buffer).
2014-01-21 13:02:59 -05:00
John Esmet
84fa905d8d
fixes #130 Create basement nodes and non-leaf message trees using
...
create_no_array() so that deserialization does not malloc/free needlessly.
2014-01-21 12:59:58 -05:00
John Esmet
d000732ab4
fixes #151 Do not send commit messages for fractal tree update commands
2014-01-21 12:59:46 -05:00
John Esmet
2e190e0631
fixes #152 Add accounting for long input buffer wait stalls in the
...
logger
2014-01-21 12:59:34 -05:00
John Esmet
f7c1d3f9ff
fixes #154 Remove toku_fair_rwlock
2014-01-20 16:53:17 -05:00
Rich Prohaska
0492446818
#147 dont hold locktree manager mutex when escalating
2014-01-14 19:14:18 -05:00
Rich Prohaska
c8993dec4d
#141 identify a big transaction and have it run lock escalation
2014-01-13 11:29:52 -05:00
John Esmet
96a2a6fc96
fixes #134 Add the get/set/change_fanout API
2014-01-09 14:34:23 -05:00
Rich Prohaska
e3b21c8f47
#139 disable the lock escalation thread. new algorithm coming in #141
2014-01-08 07:34:54 -05:00
John Esmet
23fa28bbbe
fixes #135 Don't hold the write list lock while evicting a node
2014-01-07 17:29:07 -05:00
John Esmet
96afd28faa
fixes #131 Don't hold the pair's mutex while running partial eviction.
2014-01-07 15:10:51 -05:00
Rich Prohaska
dddda9d622
#137 fix osx build problem
2014-01-07 03:57:20 -05:00
Rich Prohaska
f64edcc463
#137 error out env->open when worker threads can not be created
2014-01-06 16:58:22 -05:00
John Esmet
bd5111d7c5
refs #123 Touch the pair regardless of TOKUDB_TRY_AGAIN, to make the
...
clock behavior more consistent with the rest of the code.
2013-12-31 13:23:52 -05:00
John Esmet
8664a78ebb
refs #123 Touch the clock on a successful pin in maybe_pin_pair()
2013-12-31 12:04:39 -05:00
Leif Walsh
44002ac2b1
Merge commit 'bafb665'
2013-12-30 11:08:17 -05:00
Leif Walsh
21830bbd68
fixed compilation with clang due to uninteresting -Wignored-attributes Tokutek/mongo#869
2013-12-30 11:06:55 -05:00
Leif Walsh
d1bef7992e
fixed osx compilation breakage due to format strings
2013-12-23 19:23:20 -05:00
Leif Walsh
9db054d403
removed strict valgrind requirement #122 Tokutek/mongo#869
...
fixes #122
2013-12-23 19:22:35 -05:00
Leif Walsh
c99ee6b919
fixed some invalid parameter passing discovered by clang Tokutek/mongo#869
...
TXNID_NONE is not the same as (TOKUTXN) 0
2013-12-21 19:01:09 -05:00
Leif Walsh
5faf2143a8
silenced tokudb.data warning if being built as a component Tokutek/mongo#869
2013-12-21 19:00:29 -05:00
Leif Walsh
9f59d06843
added cpack component identifications to all install targets Tokutek/mongo#869
2013-12-20 17:58:48 -05:00
Leif Walsh
47b4a0fb4c
Merge branch 'osx'
2013-12-17 18:29:10 -05:00
Leif Walsh
b234a26410
fixed some minor issues OSX complains about Tokutek/mongo#859
2013-12-17 18:29:06 -05:00
Rich Prohaska
ad2f063d99
#119 translate CRNL to NL
2013-12-16 15:12:51 -05:00
Zardosht Kasheff
6721a2c1e7
Merge branch 'bugs/115'
2013-12-09 15:46:56 -05:00
Zardosht Kasheff
41364a4ba8
refs #115 , don't allow mempools to grow unbounded by restricting their size in
...
omt_compress_kvspace.
2013-12-09 15:46:49 -05:00
Zardosht Kasheff
046f70889d
Merge branch 'bugs/113'
2013-12-06 15:01:39 -05:00
Zardosht Kasheff
439e846e3d
refs #113 , add a callback function to the cursor to check for interrupts.
...
This allows callers to prevent a cursor that churns through many many committed
deletes to run amok.
2013-12-06 15:01:28 -05:00
Leif Walsh
a0aa7c8558
changed logformat to link statically with portability #112
...
fixes #112
2013-12-04 11:26:20 -05:00
Rich Prohaska
dbfddf4e0d
Tokutek/mariadb#12 rebase to mariadb-5.5.34
2013-11-28 09:52:08 -05:00
Rich Prohaska
78bfa5e78c
#107 use frwlock as checkpoint_safe_lock
2013-11-18 09:31:36 -05:00
Rich Prohaska
be83087a3c
#107 check if various rwlocks are fair WRT multiple writers
2013-11-18 08:19:39 -05:00
Rich Prohaska
8ab796c431
#90 debug long fsync system calls
2013-11-11 08:02:31 -05:00
Leif Walsh
f5ca05e283
Merge pull request #100 from Tokutek/mongo/650
...
remove fullhash from rollback_log_nodes
fixes Tokutek/mongo#650
2013-11-05 13:28:58 -08:00
Yoni Fogel
a3dec7add8
Refs Tokutek/mongo#650 simplify test, fix comments
2013-11-05 08:33:08 -08:00
Leif Walsh
45845261ba
added recover-child-rollback to run.stress-tests.py Tokutek/mongo#650
2013-11-04 22:17:02 -05:00